Open lervag opened 8 years ago
I like the idea. Here is a quick POC patch that seems to work.
https://gist.github.com/junegunn/bcc10c7505b387b7338fcf9db8eb1f43
Needs polishing, test, documentation, etc but these day I don't have much time to work on Vim plugins, so please let me know if you want to take it over and finish it.
I'll consider it. I also don't have that much time these days (hardly keeping the issue count at bay for vimtex). A baby and a toddler takes a lot of time, I've found... :)
:)
Alright, I'll continue the work in a few days when I get some time.
How about adding a
Given: filename
. That is, instead of writing the actual file contents in the vader file, one could import or load a desired file.For me, this would make it easy to write e.g. a large
test.tex
file that I could use for many separate vader test files. An added convenience is that I can open the test filetest.tex
and manually do testing to find what is the real expected result.