setup nvim-tree
This commit is contained in:
35
lua/plugins/nvim-tree.lua
Normal file
35
lua/plugins/nvim-tree.lua
Normal file
@@ -0,0 +1,35 @@
|
||||
return {
|
||||
"nvim-tree/nvim-tree.lua",
|
||||
tag = "v1.14.0",
|
||||
dependencies = {
|
||||
{
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
tag = "v0.100"
|
||||
}
|
||||
},
|
||||
name = "nvim-tree",
|
||||
config = function()
|
||||
require("nvim-tree").setup({
|
||||
view = {
|
||||
width = 30,
|
||||
side = "left"
|
||||
},
|
||||
git = {
|
||||
enable = true
|
||||
},
|
||||
renderer = {
|
||||
highlight_git = true
|
||||
},
|
||||
filters = {
|
||||
dotfiles = false,
|
||||
custom = {
|
||||
".git"
|
||||
}
|
||||
},
|
||||
update_cwd = true,
|
||||
update_focused_file = {
|
||||
enable = true
|
||||
}
|
||||
})
|
||||
end
|
||||
}
|
||||
Reference in New Issue
Block a user