28 lines
490 B
Lua
28 lines
490 B
Lua
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
|
|
}
|