Skip to content

Commit 2aee0b3

Browse files
authored
fix #69 closes wrong window (#90)
1 parent bf32900 commit 2aee0b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/neo-tree.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ M.close_all_except = function(source_name)
8787
if name ~= source_name then
8888
local pos = utils.get_value(M, "config." .. name .. ".window.position", "left")
8989
if pos == target_pos then
90-
manager.close(source_name)
90+
manager.close(name)
9191
end
9292
end
9393
end

0 commit comments

Comments
 (0)