dkprice / vim-easygrep

Fast and Easy Find and Replace Across Multiple Files
The Unlicense
325 stars 47 forks source link

I updated your plugin to the latest version and got the following error #3

Closed wikimatze closed 10 years ago

wikimatze commented 10 years ago
Error detected while processing function <SNR>81_CreateGrepDictionary:
line    6:
E121: Undefined variable: g:EasyGrepMode
E116: Invalid arguments for function add
line    7:
E121: Undefined variable: g:EasyGrepMode
E116: Invalid arguments for function add
line    8:
E121: Undefined variable: g:EasyGrepMode
E116: Invalid arguments for function add
line    9:
E121: Undefined variable: g:EasyGrepMode
E116: Invalid arguments for function add
Error detected while processing function <SNR>81_CreateGrepDictionary..<SNR>81_InternalFailure:
line    1:
EasyGrep's default settings are not internally consistent; please reinstall

Hope you can do something with it.

dkprice commented 10 years ago

I just pushed a fix -- can you try it out now?

wikimatze commented 10 years ago

Yeah, your commit #4ed7e350fd45f7a07b762987a0d4867bf4e50684 fix it, thanks for it. Did you consider to Vimrunner from @AndrewRadev to test your code?

Anyway, I like the idea of your script which says in a case of an error that you should contact the author. Maybe you can put a link to the github issue page of this plugin in the message to make in easier for other users to post errors.

Best wishes, Matthias

dkprice commented 10 years ago

Thanks, Matthias. I've added a note about this repository to the docs and on the plugin page at vim.org. I've also started experimenting with some testing scripts and hope to add more over time.

wikimatze commented 10 years ago

I'm seeing now the test folder you have created. It's a first step in the right location - it does not matter which testing framework you are using. Thanks for putting up the tests.