nvim config
This commit is contained in:
27
lua/plugins/tree.lua
Normal file
27
lua/plugins/tree.lua
Normal file
@@ -0,0 +1,27 @@
|
||||
return {
|
||||
"nvim-tree/nvim-tree.lua",
|
||||
dependencies = {
|
||||
"nvim-tree/nvim-web-devicons"
|
||||
},
|
||||
config = function()
|
||||
local config = {
|
||||
hijack_cursor = true,
|
||||
sort = {
|
||||
sorter = "modification_time",
|
||||
},
|
||||
view = {
|
||||
width = 30,
|
||||
},
|
||||
renderer = {
|
||||
group_empty = true,
|
||||
},
|
||||
filters = {
|
||||
dotfiles = false,
|
||||
},
|
||||
filesystem_watchers = {
|
||||
enable = true
|
||||
}
|
||||
}
|
||||
require("nvim-tree").setup(config)
|
||||
end
|
||||
}
|
||||
Reference in New Issue
Block a user