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

27 lines
469 B
Lua
Raw Normal View History

-- Tree explorer
2023-11-25 14:37:36 +02:00
--- @type LazyPluginSpec
return {
"kyazdani42/nvim-tree.lua",
lazy = false,
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,
},
},
keys = {
{
desc = "Open/close nvim-tree",
"<leader>o",
"<cmd>NvimTreeToggle<cr>",
},
},
}