2023-11-18 02:27:14 +02:00
|
|
|
-- Tree explorer
|
2023-11-25 14:37:36 +02:00
|
|
|
--- @type LazyPluginSpec
|
2023-11-18 02:27:14 +02:00
|
|
|
return {
|
|
|
|
"kyazdani42/nvim-tree.lua",
|
2023-11-25 13:24:17 +02:00
|
|
|
lazy = false,
|
2023-11-18 02:27:14 +02:00
|
|
|
dependencies = { "kyazdani42/nvim-web-devicons" },
|
|
|
|
opts = {
|
|
|
|
diagnostics = {
|
|
|
|
enable = true,
|
|
|
|
show_on_dirs = true,
|
|
|
|
},
|
|
|
|
renderer = {
|
|
|
|
highlight_git = true,
|
|
|
|
},
|
2023-11-25 12:22:04 +02:00
|
|
|
update_focused_file = {
|
|
|
|
enable = true,
|
|
|
|
},
|
2023-11-18 02:27:14 +02:00
|
|
|
},
|
2023-11-25 13:24:17 +02:00
|
|
|
keys = {
|
|
|
|
{
|
2023-11-25 14:13:26 +02:00
|
|
|
desc = "Open/close nvim-tree",
|
2023-11-25 13:24:17 +02:00
|
|
|
"<leader>o",
|
|
|
|
"<cmd>NvimTreeToggle<cr>",
|
|
|
|
},
|
|
|
|
},
|
2023-11-18 02:27:14 +02:00
|
|
|
}
|