chore: neotree plugin

This commit is contained in:
zapagenrevdale 2025-08-05 17:51:35 +08:00
parent 3338d39206
commit 482f46a442
2 changed files with 17 additions and 1 deletions

View File

@ -984,7 +984,7 @@ require('lazy').setup({
-- This is the easiest way to modularize your config.
--
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
-- { import = 'custom.plugins' },
{ import = 'custom.plugins' },
--
-- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec`
-- Or use telescope!

View File

@ -0,0 +1,16 @@
return {
{
'nvim-neo-tree/neo-tree.nvim',
branch = 'v3.x',
dependencies = {
'nvim-lua/plenary.nvim',
'MunifTanjim/nui.nvim',
'nvim-tree/nvim-web-devicons', -- optional, but recommended
},
lazy = false, -- neo-tree will lazily load itself
keys = {
{ '<leader>e', ':Neotree toggle<CR>', desc = 'Toggle NeoTree', silent = true },
{ '\\', ':Neotree reveal<CR>', desc = 'NeoTree reveal', silent = true },
},
},
}