소스 검색

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 년 전
부모
커밋
127359e431
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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