You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, here is an example of what I'm trying to replicate:
As in the above screenshot, in addition to the matched portions getting highlighted, the match under the cursor takes on a different foreground color. I am able to set the foreground for the entire match under the cursor, but then I lose the matched portion highlighting.
Any idaes?
The text was updated successfully, but these errors were encountered:
It seems to me that ivy-current-match affects the entire line of the current match. Actually what I am looking to do, is to highlight the entire line of the first match, foreground and background, and then add an additional color to the "matching regex" portion.
To use your example, if your cursor is on the FETCH_HEAD match, the background is blue, the foreground is white, but the HE instead of having the same white foreground, would have some other color instead.
The motivation can be seen by the original screenshot I posted, where the current match is given increased focus, and the currently typed matching section is also given focus.
My guess is maybe the matching portion needs to be given an additional face before the current match face? I can look into a PR if you would be willing to accept one, should this not actually already be supported.
First, here is an example of what I'm trying to replicate:
As in the above screenshot, in addition to the matched portions getting highlighted, the match under the cursor takes on a different foreground color. I am able to set the foreground for the entire match under the cursor, but then I lose the matched portion highlighting.
Any idaes?
The text was updated successfully, but these errors were encountered: