Neovim/lua/plugins/nvim-tree.lua

41 lines
1.1 KiB
Lua
Raw Normal View History

2024-03-27 23:32:16 +00:00
return {
{
"nvim-tree/nvim-tree.lua",
opts = {
hijack_cursor = true,
sync_root_with_cwd = true,
diagnostics = {
enable = true,
show_on_dirs = true,
show_on_open_dirs = false,
},
update_focused_file = {
enable = true,
update_root = true,
ignore_list = { "help" },
},
modified = {
enable = true,
},
hijack_directories = {
enable = true,
2024-03-27 23:32:16 +00:00
},
renderer = {
highlight_git = true,
icons = {
git_placement = "after",
diagnostics_placement = "after",
modified_placement = "after",
show = {
git = false,
},
},
},
view = {
signcolumn = "no",
2024-06-06 11:06:47 +00:00
width = 30,
},
},
},
2024-03-27 23:32:16 +00:00
}