We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
plugin
1 parent be575c0 commit 5641fd0Copy full SHA for 5641fd0
lua/nvim-tree.lua
@@ -759,10 +759,7 @@ function M.setup(conf)
759
760
setup_autocommands(opts)
761
762
- if vim.g.NvimTreeSetup ~= 1 then
763
- -- first call to setup
764
- require("nvim-tree.commands").setup()
765
- else
+ if vim.g.NvimTreeSetup == 1 then
766
-- subsequent calls to setup
767
M.purge_all_state()
768
end
plugin/nvim-tree.lua
@@ -0,0 +1 @@
1
+require("nvim-tree.commands").setup()
0 commit comments