update the default coffeescript checker

No need to generate a file when linting, as the coffeescript compiler
will do that for you.

This has been tested with coffeescript 1.6.2.

Also: use options over flags for readibility
This commit is contained in:
Joshua Hoff 2013-04-01 20:33:58 -05:00
parent 78f345bab3
commit d769273bcc

View File

@ -21,7 +21,7 @@ endfunction
function! SyntaxCheckers_coffee_coffee_GetLocList()
let makeprg = syntastic#makeprg#build({
\ 'exe': 'coffee',
\ 'args': '-c -l -o /tmp',
\ 'args': '--lint',
\ 'subchecker': 'coffee' })
let errorformat = '%E%f:%l:%c: %trror: %m,' .
\ 'Syntax%trror: In %f\, %m on line %l,' .