helix
helix copied to clipboard
completions: Highlight fuzzy matching
Requires #1905 .
I had to create a vector for every completion to add the spans, but I didn't notice any slowdown (even with idle-timeout = 0). The loop part is only slightly longer for non consecutive matches, but in this case the matching rows are just few ones, so there is no performance impact.
Preview:
