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:
Abouzar Parvan 2022-09-20 14:11:58 +04:30 committed by GitHub
commit 518b1d4167
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 231 additions and 131 deletions

View file

@ -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",
},
}