Add nvimtree configuration

This commit is contained in:
Marko Korhonen 2022-08-24 12:07:21 +03:00
parent 21284ab10d
commit c707c17f4b
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
2 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1,13 @@
return function()
require("nvim-tree").setup { -- BEGIN_DEFAULT_OPTS
diagnostics = {
enable = true,
show_on_dirs = true,
},
renderer = {
highlight_git = true
}
}
-- Open/close with alt-o
vim.keymap.set('n', '<M-o>', vim.cmd.NvimTreeToggle)
end