ivy.el (ivy--highlight-default): Fuzzy highlight improvements #2080
Fix a bug where unmatched subexpressions would cause highlighting to abort early. This can happen when the regex has a branch, for example.
Use a single face for adjacent subexpression matches. This makes the highlighting of fuzzy matches a bit easier to parse visually.
The text was updated successfully, but these errors were encountered:
It's possible for a regex to have subexpressions which aren't matched, and therefore have a nil beginning and end. These were raising an error which aborted the highlight pass before it was finished.
This improves highlighting for fuzzy matches by using a single face for adjacent groups. Fixes abo-abo#2080