beloglazov / vim-online-thesaurus

A Vim plugin for looking up words in an online thesaurus
Apache License 2.0
247 stars 21 forks source link

Make word search more robust #18

Closed annagrram closed 9 years ago

annagrram commented 9 years ago

For example:

Fix make it possible to both:

beloglazov commented 9 years ago

Great, thanks! The third case still didn't work, I've fixed it in 459c6165acef70b63f00ded444165a8e4ee6f6f6.

annagrram commented 9 years ago

Well, yeah. I added the third case just for a demonstration of how the previous implementation handled it. <q-args> makes sure all the parameters are bundled into 1, so no quotes are needed.

Good fix anyhow for those prefering to see space-included argument in quotes.

beloglazov commented 9 years ago

Yes, I thought it's good to handle this case as well, in case someone tries to use it this way. Thanks for all the updates!

annagrram commented 9 years ago

Glad to help