fix: get_node_at_line for group nodes

This commit is contained in:
kiyan
2021-10-08 20:01:09 +02:00
parent 6f8dc1d41c
commit 618286b726

View File

@@ -90,8 +90,8 @@ local function get_line_from_node(node, find_parent)
end end
line = line + 1 line = line + 1
if n.open == true and recursive then if entry.open == true and recursive then
local _, child = iter(n.entries, recursive) local _, child = iter(entry.entries, recursive)
if child ~= nil then return line, child end if child ~= nil then return line, child end
end end
end end