From 1488deebc714d66427fe0b55e6b9df0a0db97df4 Mon Sep 17 00:00:00 2001 From: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Sat, 19 Mar 2022 13:55:34 +0100 Subject: refactor: load onedarker theme externally (#2359) --- lua/lvim/plugins.lua | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'lua/lvim/plugins.lua') diff --git a/lua/lvim/plugins.lua b/lua/lvim/plugins.lua index c7d6963f..489d7097 100644 --- a/lua/lvim/plugins.lua +++ b/lua/lvim/plugins.lua @@ -51,14 +51,21 @@ return { "williamboman/nvim-lsp-installer", commit = commit.nvim_lsp_installer, }, + { + "lunarvim/onedarker.nvim", + config = function() + require("onedarker").setup() + end, + disable = lvim.colorscheme ~= "onedarker", + }, { "rcarriga/nvim-notify", commit = commit.nvim_notify, - disable = not lvim.builtin.notify.active, config = function() require("lvim.core.notify").setup() end, - event = "BufRead", + requires = { "nvim-telescope/telescope.nvim" }, + disable = not lvim.builtin.notify.active or not lvim.builtin.telescope.active, }, { "Tastyep/structlog.nvim", commit = commit.structlog }, @@ -75,6 +82,7 @@ return { }, { "nvim-telescope/telescope-fzf-native.nvim", + requires = { "nvim-telescope/telescope.nvim" }, commit = commit.telescope_fzf_native, run = "make", disable = not lvim.builtin.telescope.active, -- cgit v1.2.3