add config option to disable nvimtree
This commit is contained in:
parent
bd1319895d
commit
ba3af27de0
|
@ -57,7 +57,7 @@ M.ui = {
|
||||||
-- these are plugin related options
|
-- these are plugin related options
|
||||||
M.plugins = {
|
M.plugins = {
|
||||||
-- enable and disable plugins (false for disable)
|
-- enable and disable plugins (false for disable)
|
||||||
status = {
|
status = {
|
||||||
autosave = false, -- to autosave files
|
autosave = false, -- to autosave files
|
||||||
blankline = true, -- show code scope with symbols
|
blankline = true, -- show code scope with symbols
|
||||||
bufferline = true, -- list open buffers up the top, easy switching too
|
bufferline = true, -- list open buffers up the top, easy switching too
|
||||||
|
@ -73,6 +73,7 @@ M.plugins = {
|
||||||
truezen = false, -- distraction free & minimalist UI mode
|
truezen = false, -- distraction free & minimalist UI mode
|
||||||
vim_matchup = true, -- % operator enhancements
|
vim_matchup = true, -- % operator enhancements
|
||||||
cmp = true,
|
cmp = true,
|
||||||
|
nvimtree = true,
|
||||||
},
|
},
|
||||||
options = {
|
options = {
|
||||||
lspconfig = {
|
lspconfig = {
|
||||||
|
|
|
@ -252,6 +252,7 @@ return packer.startup(function()
|
||||||
-- file managing , picker etc
|
-- file managing , picker etc
|
||||||
use {
|
use {
|
||||||
"kyazdani42/nvim-tree.lua",
|
"kyazdani42/nvim-tree.lua",
|
||||||
|
disable = not status.nvimtree,
|
||||||
cmd = { "NvimTreeToggle", "NvimTreeFocus" },
|
cmd = { "NvimTreeToggle", "NvimTreeFocus" },
|
||||||
config = override_req("nvim_tree", "plugins.configs.nvimtree"),
|
config = override_req("nvim_tree", "plugins.configs.nvimtree"),
|
||||||
setup = function()
|
setup = function()
|
||||||
|
|
Loading…
Reference in New Issue