Add nvim config

This commit is contained in:
Marko Korhonen 2024-09-16 20:40:42 +03:00
parent b227b7cb19
commit 25a48b5694
48 changed files with 1550 additions and 2 deletions

View file

@ -0,0 +1,25 @@
-- Tree explorer
--- @type LazyPluginSpec
return {
"kyazdani42/nvim-tree.lua",
dependencies = { "kyazdani42/nvim-web-devicons" },
opts = {
diagnostics = {
enable = true,
show_on_dirs = true,
},
renderer = {
highlight_git = true,
},
update_focused_file = {
enable = true,
},
},
keys = {
{
desc = "Open/close nvim-tree",
"<leader>o",
"<cmd>NvimTreeToggle<cr>",
},
},
}