18 lines
427 B
Lua
18 lines
427 B
Lua
return {
|
|
'nvim-tree/nvim-tree.lua',
|
|
version = '*',
|
|
lazy = false,
|
|
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
|
config = function()
|
|
vim.g.loaded_netrw = 1
|
|
vim.g.loaded_netrwPlugin = 1
|
|
vim.opt.termguicolors = true
|
|
|
|
require('nvim-tree').setup()
|
|
|
|
local api = require('nvim-tree.api')
|
|
vim.keymap.set('n', '<leader>e', api.tree.open)
|
|
vim.keymap.set('n', '<leader>E', api.tree.close)
|
|
end
|
|
}
|