mirror of
https://github.com/tomru/nvim.git
synced 2026-03-03 22:47:18 +01:00
add some common stuff
This commit is contained in:
19
lua/plugins/tree.lua
Normal file
19
lua/plugins/tree.lua
Normal file
@@ -0,0 +1,19 @@
|
||||
vim.cmd [[ let g:neo_tree_remove_legacy_commands = 1 ]]
|
||||
|
||||
return {
|
||||
'nvim-neo-tree/neo-tree.nvim',
|
||||
version = '*',
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
'nvim-tree/nvim-web-devicons', -- not strictly required, but recommended
|
||||
'MunifTanjim/nui.nvim',
|
||||
},
|
||||
opts = {
|
||||
follow_current_file = {
|
||||
enabled = true,
|
||||
},
|
||||
},
|
||||
keys = {
|
||||
{ '<leader>e', '<cmd>:Neotree toggle<cr>', desc = 'NeoTree' },
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user