Add autocommands to notice linters#437
Add autocommands to notice linters#437haya14busa merged 2 commits intoeasymotion:masterfrom n-p-e:jakelinzy
Conversation
|
Can we save/restore eventignore instead to avoid the issue? |
I tried so, but doing |
|
Thanks. I reverted the pr. |
|
I am using @jakelinzy's branch and I can't replicate this warning-- perhaps a difference between Vim and NeoVim (I'm on NeoVim)? But in any case, pretty sure that the message is the result of a user having no autocommands defined for This PR introduced a really useful feature for dealing with the linter interference caused by easymotion, so I hope this gets remerged with the above change. |
You're right. I didn't notice this behaviour. My fault. From Neovim
#440 Fixes this. |
Fix 'No matching autocommands' warning caused by #437

This change addresses #402 for linters that provide enable/disable commands.
I'm not very familiar with vimscript, so please check.
As mentioned in the #402, the best workaround so far is probably attach an autocommand to
TextChangedandCursorMovedand manually check whether EasyMotion is active. This makes the process much simpler. Linter plugin authors can also easily support EasyMotion.