gotests-vim
gotests-vim copied to clipboard
Undefined variable after recent update
Hey :wave:! I recently updated this plugin, and am experiencing an error when trying to generate tests - seemingly related to this change. I'm not sure if this is a bug, or if there's something I need to do on my end to fix it to be able to generate tests now.
Error in nvim:
Error detected while processing function gotests#alltests: │
line 10: │
E121: Undefined variable: g:gotests_template │
E116: Invalid arguments for function empty │
Press ENTER or type command to continue │
I've tried modifying locally to change the newly introduced tabs to spaces to see if that helped (as the entire file uses spaces except for the 4 new lines now use tabs), but it didn't seem to change the outcome.
Figured it out, and the changes work locally - PR with a fix submitted 👍