diff options
author | Christian Chiarulli <[email protected]> | 2021-08-28 09:45:42 -0400 |
---|---|---|
committer | Christian Chiarulli <[email protected]> | 2021-08-28 09:45:42 -0400 |
commit | 17e65a99fea6a61ae55f181432be3ce30d082283 (patch) | |
tree | b141966272bfccaca660ca0b129019a791259dc0 /lua/core/nvimtree.lua | |
parent | 21d04257a8c306fbb0c17486791bc46d6212e611 (diff) |
use netrw when opening directory
Diffstat (limited to 'lua/core/nvimtree.lua')
-rw-r--r-- | lua/core/nvimtree.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lua/core/nvimtree.lua b/lua/core/nvimtree.lua index b5a6cc8d..6aa5401d 100644 --- a/lua/core/nvimtree.lua +++ b/lua/core/nvimtree.lua @@ -15,7 +15,7 @@ function M.config() tree_width = 30, }, ignore = { ".git", "node_modules", ".cache" }, - auto_open = 1, + auto_open = 0, auto_close = 1, quit_on_open = 0, follow = 1, @@ -65,6 +65,9 @@ function M.setup() if lvim.builtin.project.active then vim.g.nvim_tree_update_cwd = 1 vim.g.nvim_tree_respect_buf_cwd = 1 + vim.g.nvim_tree_disable_netrw = 0 + vim.g.nvim_tree_hijack_netrw = 0 + vim.g.netrw_banner = 0 end local tree_cb = nvim_tree_config.nvim_tree_callback |