fix(edgy): only track other neo-tree windows with a source

This commit is contained in:
Folke Lemaitre
2024-06-14 10:20:40 +02:00
parent 25cccb5db8
commit 6efbdabd1b

View File

@ -84,7 +84,14 @@ return {
pinned = true,
open = "Neotree position=top buffers",
},
"neo-tree",
{
title = "Neo-Tree Other",
ft = "neo-tree",
filter = function(buf)
return vim.b[buf].neo_tree_source ~= nil
end,
},
-- "neo-tree",
},
keys = {
-- increase width