Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Strange font lock of swiper #651
I read the excellent post Better fuzzy matching support in Ivy and try it(integrating
Inputing exactly the same thing (the candidate as manually input content and the query) as the last image in the link,
Shouldn't they have similar font lock ? I mean, the matched neighbouring char should have the same color in the
A minimum test snippet is
The highlight in the minibuffer is done using flx, which is usually used for fuzzy sorting (all commands except swiper). I think it's useful to keep the highlights by flx in the minibuffer, since it gives insight into how it sorts. But removing the flx highlight specifically for swiper isn't worth the hassle, I think. But I'll keep it in mind, might replace it with the new highlight function once it's stable.