From 4a079b41604557d26471fc3fd60b3f460988a6f3 Mon Sep 17 00:00:00 2001 From: servostar Date: Thu, 6 Jun 2024 14:22:54 +0200 Subject: [PATCH] file tree no longer changes root --- 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 34be8f9..f394e81 100644 --- a/lua/plugins/nvim-tree.lua +++ b/lua/plugins/nvim-tree.lua @@ -3,7 +3,7 @@ return { "nvim-tree/nvim-tree.lua", opts = { hijack_cursor = true, - sync_root_with_cwd = true, + sync_root_with_cwd = false, diagnostics = { enable = true, show_on_dirs = true, @@ -11,7 +11,7 @@ return { }, update_focused_file = { enable = true, - update_root = true, + update_root = false, ignore_list = { "help" }, }, modified = {