mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-08-07 11:35:06 +02:00
nerdtree
This commit is contained in:
parent
ec9cb66592
commit
f957aa2af9
2 changed files with 11 additions and 9 deletions
|
@ -1,14 +1,13 @@
|
|||
vim.cmd [[ let g:neo_tree_remove_legacy_commands = 1 ]]
|
||||
|
||||
return {
|
||||
'nvim-neo-tree/neo-tree.nvim',
|
||||
'preservim/nerdtree',
|
||||
version = '*',
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
'nvim-tree/nvim-web-devicons', -- not strictly required, but recommended
|
||||
'MunifTanjim/nui.nvim',
|
||||
'ryanoasis/vim-devicons',
|
||||
},
|
||||
config = function()
|
||||
require('neo-tree').setup {}
|
||||
keys = {
|
||||
{ '<leader>n', '<cmd>NERDTreeToggle<cr>' },
|
||||
},
|
||||
init = function()
|
||||
vim.g.NERDTreeShowLineNumbers = 1
|
||||
end,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue