diff --git a/lua/config_plugins/config_nvim-tree.lua b/lua/config_plugins/config_nvim-tree.lua index 39d8ae61..a0c0851b 100644 --- a/lua/config_plugins/config_nvim-tree.lua +++ b/lua/config_plugins/config_nvim-tree.lua @@ -1,6 +1,17 @@ -vim.g.loaded = 1 +vim.g.loaded_netrw = 1 vim.g.loaded_netrwPlugin = 1 require('nvim-tree').setup { + open_on_setup=true, + open_on_setup_file=true, + hijack_cursor=true, + sync_root_with_cwd=true, + update_focused_file = { + enable = true, + }, + diagnostics = { + enable = true, + show_on_dirs = true, + }, filters = { custom = { "^.git$" } }, renderer = { group_empty = true,