26 lines
502 B
Lua
26 lines
502 B
Lua
---@module 'lazy'
|
|
---@type LazySpec
|
|
return {
|
|
'nvim-neo-tree/neo-tree.nvim',
|
|
branch = 'v3.x',
|
|
dependencies = {
|
|
'nvim-lua/plenary.nvim',
|
|
'MunifTanjim/nui.nvim',
|
|
'nvim-tree/nvim-web-devicons',
|
|
},
|
|
cmd = 'Neotree',
|
|
keys = {
|
|
{ '<C-b>', '<cmd>Neotree toggle<CR>', desc = 'Toggle Neo-tree' },
|
|
},
|
|
---@module 'neo-tree'
|
|
---@type neotree.Config
|
|
opts = {
|
|
window = {
|
|
mappings = {
|
|
['<space>'] = 'none',
|
|
['<C-b>'] = 'close_window',
|
|
},
|
|
},
|
|
},
|
|
}
|