Add nvimtree configuration

main
Marko Korhonen 2 years ago
parent 21284ab10d
commit c707c17f4b
No known key found for this signature in database
GPG Key ID: 911B85FBC6003FE5

@ -61,7 +61,7 @@ require('packer').startup(function()
use {
'kyazdani42/nvim-tree.lua',
requires = 'kyazdani42/nvim-web-devicons',
config = function() require('nvim-tree').setup {} end
config = require('plugins.nvim-tree')
}
-- Telescope

@ -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
Loading…
Cancel
Save