Fix return
This commit is contained in:
parent
29b01b8289
commit
7337186ca7
@ -139,5 +139,7 @@ function BraceRange.find_all()
|
|||||||
end
|
end
|
||||||
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
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user