1

Fix return

This commit is contained in:
Alex Yatskov 2024-04-21 22:07:24 -07:00
parent 29b01b8289
commit 7337186ca7

View File

@ -139,5 +139,7 @@ function BraceRange.find_all()
end
end
return vim.fn.sort(brace_ranges, brace_range_compare)
if #brace_ranges > 0 then
return vim.fn.sort(brace_ranges, brace_range_compare)[1]
end
end