Przeglądaj źródła

always close tree, there is a bug with nvimtree if you don't autoclose where the buffer you open will inherit the settings of the tree buffer

Chris 4 lat temu
rodzic
commit
127359e431
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      lua/core/nvimtree.lua

+ 1 - 1
lua/core/nvimtree.lua

@@ -17,7 +17,7 @@ M.setup = function()
   g.nvim_tree_width = 30
   g.nvim_tree_ignore = { ".git", "node_modules", ".cache" }
   g.nvim_tree_auto_open = 1
-  g.nvim_tree_auto_close = O.auto_close_tree
+  g.nvim_tree_auto_close = 1
   g.nvim_tree_quit_on_open = 0
   g.nvim_tree_follow = 1
   g.nvim_tree_indent_markers = 1