feat(neo-tree): don't follow unless asked

This commit is contained in:
Michel 2024-09-06 18:52:34 +02:00
parent 138ad4885f
commit 2d6f1aa756

View File

@ -17,6 +17,15 @@ return {
{
"nvim-neo-tree/neo-tree.nvim",
keys = {
{
"<leader>E",
function()
require("neo-tree.command").execute({action="show", reveal=true})
end,
desc = "NeoTree: reveal file",
},
},
opts = {
event_handlers = {
{
@ -26,6 +35,13 @@ return {
end,
},
},
filesystem = {
bind_to_cwd = false,
follow_current_file = {
enabled = false,
leave_dirs_open = true,
},
},
},
},