24
lua/taken/plugins/nvimtree.lua
Normal file
24
lua/taken/plugins/nvimtree.lua
Normal file
@@ -0,0 +1,24 @@
|
||||
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"
|
||||
}
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user