25 lines
338 B
Lua
25 lines
338 B
Lua
local setup, nvimtree = pcall(require, "nvim-tree")
|
|
if not setup then
|
|
return
|
|
end
|
|
|
|
nvimtree.setup({
|
|
sync_root_with_cwd = true,
|
|
view = {
|
|
width = 30,
|
|
},
|
|
git = {
|
|
ignore = false,
|
|
},
|
|
filters = {
|
|
dotfiles = false,
|
|
custom = {
|
|
"node_modules",
|
|
".git"
|
|
},
|
|
exclude = {
|
|
".gitignore"
|
|
}
|
|
},
|
|
})
|