feat(config): configs for telescope extensions

This commit is contained in:
vlaw 2022-05-09 19:54:02 +08:00 committed by siduck
parent c0ca91cb92
commit 4fa0b4ae7d
2 changed files with 4 additions and 1 deletions

View File

@ -41,6 +41,9 @@ M.plugins = {
statusline = {
separator_style = "default", -- default/round/slant/block/arrow
},
telescope = {
extensions = { "themes", "terms" }
}
},
-- add, modify, remove plugins

View File

@ -61,7 +61,7 @@ options = nvchad.load_override(options, "nvim-telescope/telescope.nvim")
telescope.setup(options)
-- load extensions
local extensions = { "themes", "terms" }
local extensions = nvchad.load_config().plugins.options.telescope.extensions
pcall(function()
for _, ext in ipairs(extensions) do