Vim: Jasmine Error Format

I couldn’t find an acceptable Vim errorformat for when running Jasmine tests with quickfix (specifically using Jasmine’s ConsoleReporter), so I made my own.

If any of that made sense this may be of some use to you :)

set errorformat=%E\ \ %.%#Error:%m,%-G%.%#/jasmine.js:%.%#,%C\ %#at\ %.%#\ (%f:%l:%c)
This entry was posted in Coding, Javascript, Vim. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>