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,
2024-06-06 12:22:54 +00:00
sync_root_with_cwd = false,
2024-03-27 23:32:16 +00:00
diagnostics = {
enable = true,
show_on_dirs = true,
show_on_open_dirs = false,
},
update_focused_file = {
enable = true,
2024-06-06 12:22:54 +00:00
update_root = false,
2024-03-27 23:32:16 +00:00
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
}