diff options
author | kylo252 <[email protected]> | 2022-03-19 13:55:34 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2022-03-19 16:25:34 +0330 |
commit | 1488deebc714d66427fe0b55e6b9df0a0db97df4 (patch) | |
tree | 7bcdfee15d1bfeaf335fb6321d53ac43ed88307d /lua/lvim/plugins.lua | |
parent | 5a8ccd9fcb3b7be2a07d92246e7bc764409ed537 (diff) |
refactor: load onedarker theme externally (#2359)
Diffstat (limited to 'lua/lvim/plugins.lua')
-rw-r--r-- | lua/lvim/plugins.lua | 12 |
1 files changed, 10 insertions, 2 deletions
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 @@ -52,13 +52,20 @@ return { 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, |