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

14 lines
265 B
Lua
Raw Normal View History

2022-08-24 12:07:21 +03:00
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