Yggdroot / indentLine

A vim plugin to display the indention levels with thin vertical lines
MIT License
4.14k stars 231 forks source link

Indention guide lines get highlighted when using easymotion. #365

Open DasOhmoff opened 3 years ago

DasOhmoff commented 3 years ago

Hello. Thank you for your help.

I use the following plugin vim-easymotion. This plugin allows entering characters and jumping to the location that match these entered characters, by pressing a key that pops up at the matched location.

Example: here is the text before I use easymotion: image As you can see, the indentations are marked with the ¦ character. Here is what happens after I search for the string in with easymotion: image Keys appear at the matched locations (the things in red). If I now press a, I will jump to the first match. But the problem is, as you can see, the ¦ character gets highlighted as well, which is not supposed to be happening.

This problem in either of the following scenarios:

  1. the setting: let EasyMotion_do_shade = 0 is set
  2. there are only matches other windows. Then only the other windows get shaded, the current window does not, but the ¦ character is still highlighted.

How can I avoid this, so that the ¦ character does not get highlighted?