Open mpickem opened 6 years ago
This is still true. It doesn't work for the overwin flavors, I see that in the code the overwin flavors call a different highlighter function and this one doesnt even get the two highlight groups as an argument, only the single one instead. It seems like highlighting overwin is implemented differently from the in-buffer one.
Most commands (from my testing: easymotion-j; easymotion-k; easymotion-lineforward; easymotion-linebackward, easymotion-f, easmotion-f2) use the highlighting properly. That is, they change the highlighting according to EasyMotionTarget and EasyMotionTarget2First/Second when the input requires 1 or 2 characters, respectively.
easymotion-overwin-f / easymotion-overwin-f2 on the other hand consistently only uses EasyMotionTarget even for a 2 character input which, I guess, is a bug.