feat(config): configs for telescope extensions
This commit is contained in:
parent
c0ca91cb92
commit
4fa0b4ae7d
2 changed files with 4 additions and 1 deletions
|
@ -41,6 +41,9 @@ M.plugins = {
|
||||||
statusline = {
|
statusline = {
|
||||||
separator_style = "default", -- default/round/slant/block/arrow
|
separator_style = "default", -- default/round/slant/block/arrow
|
||||||
},
|
},
|
||||||
|
telescope = {
|
||||||
|
extensions = { "themes", "terms" }
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
-- add, modify, remove plugins
|
-- add, modify, remove plugins
|
||||||
|
|
|
@ -61,7 +61,7 @@ options = nvchad.load_override(options, "nvim-telescope/telescope.nvim")
|
||||||
telescope.setup(options)
|
telescope.setup(options)
|
||||||
|
|
||||||
-- load extensions
|
-- load extensions
|
||||||
local extensions = { "themes", "terms" }
|
local extensions = nvchad.load_config().plugins.options.telescope.extensions
|
||||||
|
|
||||||
pcall(function()
|
pcall(function()
|
||||||
for _, ext in ipairs(extensions) do
|
for _, ext in ipairs(extensions) do
|
||||||
|
|
Loading…
Reference in a new issue