refactor: make sure open is a boolean
This commit is contained in:
parent
df1f535e20
commit
a731a81728
@ -60,7 +60,7 @@ function M.fn(node, opts)
|
|||||||
:applier(function(n)
|
:applier(function(n)
|
||||||
local dir = n:as(DirectoryNode)
|
local dir = n:as(DirectoryNode)
|
||||||
if dir then
|
if dir then
|
||||||
dir.open = opts.keep_buffers and matches(dir.absolute_path)
|
dir.open = opts.keep_buffers == true and matches(dir.absolute_path)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
:recursor(function(n)
|
:recursor(function(n)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user