chore(nvim): sync the Nvim Tree root with the current working directory

This commit is contained in:
Stefan Imhoff
2022-07-13 19:49:47 +02:00
parent f087ce94d7
commit 6c143ee251
2 changed files with 5 additions and 3 deletions

View File

@@ -1,7 +1,9 @@
-- nvim-tree.lua https://github.com/kyazdani42/nvim-tree.lua
local status_ok, nvim_tree = pcall(require, "nvim-tree")
if not status_ok then
return
return
end
nvim_tree.setup()
nvim_tree.setup({
sync_root_with_cwd = true,
})

View File

@@ -19,7 +19,7 @@ project.setup({
".svn",
"Makefile",
".gitignore",
'package.json',
"package.json",
},
show_hidden = false,
silent_chdir = true,