syl20bnr / evil-iedit-state

Slick Evil states for iedit.
GNU General Public License v3.0
58 stars 25 forks source link

Disable AHS mode when exiting evil-iedit-mode #34

Closed duianto closed 2 years ago

duianto commented 3 years ago

problem If auto-highlight-symbol-mode (AHS) was enabled before entering evil-iedit-mode. When exiting evil-iedit-mode, then the AHS highlight just gets cleared. But AHS mode is still enabled.

Trying to enable AHS shows the message:

automatic-symbol-highlight disabled.

AHS mode has to be toggled a second time to enable it.

solution Disable AHS mode when exiting evil-iedit-mode, it also clears the AHS highlight.

syl20bnr commented 2 years ago

Thank you!