We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df1f535 commit a731a81Copy full SHA for a731a81
lua/nvim-tree/actions/tree/modifiers/collapse-all.lua
@@ -60,7 +60,7 @@ function M.fn(node, opts)
60
:applier(function(n)
61
local dir = n:as(DirectoryNode)
62
if dir then
63
- dir.open = opts.keep_buffers and matches(dir.absolute_path)
+ dir.open = opts.keep_buffers == true and matches(dir.absolute_path)
64
end
65
end)
66
:recursor(function(n)
0 commit comments