Fix formatting

This commit is contained in:
Garrett Hopper 2025-05-07 18:06:28 -05:00
parent 0f06fba7ac
commit 1de2016415

View file

@ -179,7 +179,9 @@ function M.get_indent(lnum)
end
-- Recursively search upwards for any @indent.end nodes
local tmp = node
while tmp and not q["indent.end"][tmp:id()] do tmp = tmp:parent() end
while tmp and not q["indent.end"][tmp:id()] do
tmp = tmp:parent()
end
if tmp then
node = get_first_node_at_line(root, lnum)
end