From 9897c9665aab5a6f06f33d7b24e90a1a7fc3a49b Mon Sep 17 00:00:00 2001 From: juan Date: Mon, 27 Jun 2022 15:47:14 +0800 Subject: [PATCH] Fix | Update nvim-tree configuration --- lua/plugins/nvim-tree.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/plugins/nvim-tree.lua b/lua/plugins/nvim-tree.lua index cf946de..3bfdb59 100644 --- a/lua/plugins/nvim-tree.lua +++ b/lua/plugins/nvim-tree.lua @@ -2,13 +2,13 @@ -- each of these are documented in `:help nvim-tree.OPTION_NAME` require'nvim-tree'.setup { disable_netrw = true, - hijack_netrw = true, open_on_setup = false, ignore_ft_on_setup = {}, open_on_tab = true, hijack_cursor = true, + hijack_directories = {enable = true, auto_open = true}, + hijack_netrw = true, update_cwd = true, - update_to_buf_dir = {enable = true, auto_open = true}, diagnostics = { enable = true, icons = {hint = "", info = "", warning = "", error = ""}