diff --git a/nvim/after/plugin/nvim-tree.lua b/nvim/after/plugin/nvim-tree.lua index 8a9ea39..4974855 100644 --- a/nvim/after/plugin/nvim-tree.lua +++ b/nvim/after/plugin/nvim-tree.lua @@ -5,5 +5,8 @@ if not status_ok then end nvim_tree.setup({ - sync_root_with_cwd = true, + update_focused_file = { + enable = true, + update_root = true, + }, })