dotfiles/home/.config/nvim/lua/plugins/nvim-tree.lua
2022-10-26 14:08:20 +03:00

13 lines
268 B
Lua

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