The option to run $ vim -u $(whatever) -c 'Vader!' is very nifty and useful for integrating with shell scripts. Is there a similar interface to call Vader from within Vimscript files and deal with the result? vader#run() doesn't seem to return anything, so my guess is no.
This is a very niche case, but my end goal is portability: wherever Vim runs at all, so too do my tests and my test script. I am often switching between Windows, OSX and Linux, which have different scripting options, or different implementations of sh and so on.
The option to run
$ vim -u $(whatever) -c 'Vader!'
is very nifty and useful for integrating with shell scripts. Is there a similar interface to call Vader from within Vimscript files and deal with the result?vader#run()
doesn't seem to return anything, so my guess is no.This is a very niche case, but my end goal is portability: wherever Vim runs at all, so too do my tests and my test script. I am often switching between Windows, OSX and Linux, which have different scripting options, or different implementations of
sh
and so on.