summaryrefslogtreecommitdiff
path: root/lua/lvim/plugins.lua
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2022-03-19 13:55:34 +0100
committerGitHub <[email protected]>2022-03-19 16:25:34 +0330
commit1488deebc714d66427fe0b55e6b9df0a0db97df4 (patch)
tree7bcdfee15d1bfeaf335fb6321d53ac43ed88307d /lua/lvim/plugins.lua
parent5a8ccd9fcb3b7be2a07d92246e7bc764409ed537 (diff)
refactor: load onedarker theme externally (#2359)
Diffstat (limited to 'lua/lvim/plugins.lua')
-rw-r--r--lua/lvim/plugins.lua12
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,