mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-09-01 16:26:16 +02:00
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 <59826753+kylo252@users.noreply.github.com>
This commit is contained in:
parent
03ec31253f
commit
518b1d4167
15 changed files with 231 additions and 131 deletions
|
@ -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",
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue