1

Compare commits

..

No commits in common. "21efa37611d70af80a764ac51963cef73630a1fa" and "29b01b828976a7ff8aeb4e5923c927b864500640" have entirely different histories.

View File

@ -107,7 +107,7 @@ function BraceRange.find(brace_pair)
end
end
function BraceRange.find_closest()
function BraceRange.find_all()
local brace_range_compare = function(brace_range_1, brace_range_2)
local cursor = Cursor:get()
@ -139,7 +139,5 @@ function BraceRange.find_closest()
end
end
if #brace_ranges > 0 then
return vim.fn.sort(brace_ranges, brace_range_compare)[1]
end
return vim.fn.sort(brace_ranges, brace_range_compare)
end