mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
chore(nvim): sync the Nvim Tree root with the current working directory
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
-- nvim-tree.lua – https://github.com/kyazdani42/nvim-tree.lua
|
-- nvim-tree.lua – https://github.com/kyazdani42/nvim-tree.lua
|
||||||
local status_ok, nvim_tree = pcall(require, "nvim-tree")
|
local status_ok, nvim_tree = pcall(require, "nvim-tree")
|
||||||
if not status_ok then
|
if not status_ok then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
nvim_tree.setup()
|
nvim_tree.setup({
|
||||||
|
sync_root_with_cwd = true,
|
||||||
|
})
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ project.setup({
|
|||||||
".svn",
|
".svn",
|
||||||
"Makefile",
|
"Makefile",
|
||||||
".gitignore",
|
".gitignore",
|
||||||
'package.json',
|
"package.json",
|
||||||
},
|
},
|
||||||
show_hidden = false,
|
show_hidden = false,
|
||||||
silent_chdir = true,
|
silent_chdir = true,
|
||||||
|
|||||||
Reference in New Issue
Block a user