diff --git a/lua/custom/plugins/filetree.lua b/lua/custom/plugins/filetree.lua index e5b09e41..a6e17834 100644 --- a/lua/custom/plugins/filetree.lua +++ b/lua/custom/plugins/filetree.lua @@ -14,7 +14,7 @@ return { open_files_do_not_replace_types = { "terminal", "Trouble", "qf", "Outline" }, filesystem = { visible = true, -- This is what you want: If you set this to `true`, all "hide" just mean "dimmed out" - bind_to_cwd = false, + bind_to_cwd = true, -- This option is very important to mimic the behaviour just like VsCode follow_current_file = { enabled = true }, use_libuv_file_watcher = true, },