dotfiles/.config/nvim/lua/plugins/nvim-tree.lua

24 lines
422 B
Lua
Raw Normal View History

2022-10-21 06:15:28 -04:00
local ok,nvim_tree = pcall(require,"nvim-tree")
if not ok then
vim.notify("Failed to load nvim-tree\n\n")
return
end
nvim_tree.setup({
sort_by = "case_sensitive",
2022-10-21 06:15:28 -04:00
view = {
adaptive_size = true,
2022-10-21 06:15:28 -04:00
mappings = {
list = {{ key = "u", action = "dir_up" }},
2022-10-21 06:15:28 -04:00
},
},
renderer = {
group_empty = true,
2022-10-21 06:15:28 -04:00
},
filters = {
dotfiles = true,
},
})