Add nvim config
This commit is contained in:
parent
b227b7cb19
commit
25a48b5694
48 changed files with 1550 additions and 2 deletions
25
home/.config/nvim/lua/plugins/nvim-tree.lua
Normal file
25
home/.config/nvim/lua/plugins/nvim-tree.lua
Normal 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>",
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue