add some common stuff

This commit is contained in:
Thomas Ruoff
2024-03-09 00:02:07 +01:00
parent 66e2a5a425
commit 4db2c45d52
7 changed files with 56 additions and 6 deletions

19
lua/plugins/tree.lua Normal file
View 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' },
},
}