follow current file in filetree

This commit is contained in:
Thomas Ruoff
2023-03-07 22:09:30 +01:00
parent 3c04a2b11d
commit c10c2aebc0

View File

@@ -8,7 +8,12 @@ return {
'nvim-tree/nvim-web-devicons', -- not strictly required, but recommended 'nvim-tree/nvim-web-devicons', -- not strictly required, but recommended
'MunifTanjim/nui.nvim', 'MunifTanjim/nui.nvim',
}, },
opts = {}, opts = {
filesystem = {
bind_to_cwd = false,
follow_current_file = true,
},
},
keys = { keys = {
{ '<leader>e', '<cmd>Neotree toggle<cr>', desc = 'NeoTree' }, { '<leader>e', '<cmd>Neotree toggle<cr>', desc = 'NeoTree' },
}, },