add config option to disable nvimtree

This commit is contained in:
Nathan Wallace 2021-10-01 21:50:17 -05:00 committed by siduck76
parent bd1319895d
commit ba3af27de0
2 changed files with 3 additions and 1 deletions

View File

@ -73,6 +73,7 @@ M.plugins = {
truezen = false, -- distraction free & minimalist UI mode
vim_matchup = true, -- % operator enhancements
cmp = true,
nvimtree = true,
},
options = {
lspconfig = {

View File

@ -252,6 +252,7 @@ return packer.startup(function()
-- file managing , picker etc
use {
"kyazdani42/nvim-tree.lua",
disable = not status.nvimtree,
cmd = { "NvimTreeToggle", "NvimTreeFocus" },
config = override_req("nvim_tree", "plugins.configs.nvimtree"),
setup = function()