Skip to content

Commit

Permalink
fix(matcher): ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jun 15, 2023
1 parent f3f915a commit e46a629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/flash/matcher.lua
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ function M:set(matches)
if a.pos ~= b.pos then
return a.pos < b.pos
end
return a.end_pos < b.end_pos
return a.end_pos > b.end_pos
end)
self.matches = matches
end
Expand Down

0 comments on commit e46a629

Please sign in to comment.