Ron89 / thesaurus_query.vim

Multi-language Thesaurus Query and Replacement plugin for Vim/NeoVim
http://www.vim.org/scripts/script.php?script_id=5341
Apache License 2.0
220 stars 23 forks source link

Error when choosing empty synonym #10

Closed nabsiddiqui closed 8 years ago

nabsiddiqui commented 8 years ago

If the user decides not to change a synonym, you get "Invalid Input! Ending synonym replacing session without making changes." I believe this is just a simple spacing issue. If you press backspace and enter, it works as it should.

Ron89 commented 8 years ago

That is strange. It worked correctly on both my Linux machine and my Mac... It prompt me invalid input when I press space. I mean, in my code the condition was if the input was empty or None then quit without warning...

Could you share with me your vim setup which you think might be relevant to the issue? Also, which plugin version are you using? Were you managing the plugin with plugin manager or installed it manually?

nabsiddiqui commented 8 years ago

It seemed to be a spacing issue in my remapping. I think some whitespace got placed somewhere. Sorry for the confusion, and thanks for your quick reply.