diff options
author | Abouzar Parvan <[email protected]> | 2022-09-20 14:11:58 +0430 |
---|---|---|
committer | GitHub <[email protected]> | 2022-09-20 14:11:58 +0430 |
commit | 518b1d4167162a54a6e76784038d30191613b76d (patch) | |
tree | 6007451a5e1f77db9ee116ee1a262c8f0639115d /lua/lvim/plugins.lua | |
parent | 03ec31253fc868b3ab5a8217640ec04248ae0046 (diff) |
Fix: make sure latest plugins are customizable (#3044)
* fix: make navim-navic configurable
* fix: make sure vim-illuminate is configurable
* fix: make sure theme is configurable
* fix(ci): don't verify uninstalled plugins
* refactor(lsp): add setup_document_symbols util
* revert: keep onedarker on freeze branch
* refactor(lsp): avoid duplicate hl autocmds
Co-authored-by: kylo252 <[email protected]>
Diffstat (limited to 'lua/lvim/plugins.lua')
-rw-r--r-- | lua/lvim/plugins.lua | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/lua/lvim/plugins.lua b/lua/lvim/plugins.lua index 85c1e80e..e84049dc 100644 --- a/lua/lvim/plugins.lua +++ b/lua/lvim/plugins.lua @@ -15,16 +15,11 @@ local core_plugins = { end, }, { - "lunarvim/tokyonight.nvim", + "folke/tokyonight.nvim", config = function() - pcall(function() - if lvim and lvim.colorscheme == "tokyonight-night" then - require("tokyonight-night").setup() - lvim.builtin.lualine.options.theme = "tokyonight-night" - end - end) + require("lvim.core.theme").setup() end, - disable = lvim.colorscheme ~= "tokyonight-night", + disable = not vim.startswith(lvim.colorscheme, "tokyonight"), }, { "rcarriga/nvim-notify", @@ -208,7 +203,7 @@ local core_plugins = { config = function() require("lvim.core.breadcrumbs").setup() end, - -- disable = not lvim.builtin.breadcrumbs.active, + disable = not lvim.builtin.breadcrumbs.active, }, { @@ -267,6 +262,23 @@ local core_plugins = { { "RRethy/vim-illuminate", + setup = function() + require("lvim.core.illuminate").setup() + end, + disable = not lvim.builtin.illuminate.active, + }, + { + "lunarvim/onedarker.nvim", + branch = "freeze", + config = function() + pcall(function() + if lvim and lvim.colorscheme == "onedarker" then + require("onedarker").setup() + lvim.builtin.lualine.options.theme = "onedarker" + end + end) + end, + disable = lvim.colorscheme ~= "onedarker", }, } |