From 7f95b4d367c5b27cae9991ba0abbb8c32a4d776d Mon Sep 17 00:00:00 2001 From: gered Date: Thu, 2 Jan 2025 21:05:12 -0500 Subject: [PATCH] make nvim-tree automatically refresh to current working dir changes --- nvim/lua/plugins/nvim-tree.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/nvim/lua/plugins/nvim-tree.lua b/nvim/lua/plugins/nvim-tree.lua index 7c62603..ce51a53 100644 --- a/nvim/lua/plugins/nvim-tree.lua +++ b/nvim/lua/plugins/nvim-tree.lua @@ -8,6 +8,7 @@ return { }, config = function() require('nvim-tree').setup { + sync_root_with_cwd = true, actions = { open_file = { resize_window = false,