itchyny / vim-cursorword

Underlines the word under the cursor
http://www.vim.org/scripts/script.php?script_id=5100
MIT License
611 stars 36 forks source link

(Attempt #2) Fix error message when vim-cursorword is installed #22

Closed brentyi closed 4 years ago

brentyi commented 4 years ago

Hi!

New PR that solves the issue brought up in #21 without the repeated highlight check.

Understandable that this isn't an important edge case (feel free to close this also), but wanted to get your thoughts on this solution. cursorword is one of my favorites of the few dozen plugins I have, but also the only one that gives me an error every time I install it.

Notes:

itchyny commented 4 years ago

I fixed the behavior, please confirm.

brentyi commented 4 years ago

Worked, thanks :)