Update coffee error format

This commit is contained in:
Lincoln Stoll 2010-10-02 23:57:56 +08:00 committed by Martin Grenfell
parent b643ab10de
commit 8dfedc98b9

View File

@ -21,7 +21,7 @@ endif
function! SyntaxCheckers_coffee_GetLocList()
let makeprg = 'coffee -c -l -o /dev/null %'
let errorformat = '%EError: In %f\, Parse error on line %l: %m,%W%f(%l): lint warning: %m,%-Z%p^,%W%f(%l): warning: %m,%-Z%p^,%E%f(%l): SyntaxError: %m,%-Z%p^,%-G'
let errorformat = '%EError: In %f\, Parse error on line %l: %m,%EError: In %f\, %m on line %l,%W%f(%l): lint warning: %m,%-Z%p^,%W%f(%l): warning: %m,%-Z%p^,%E%f(%l): SyntaxError: %m,%-Z%p^,%-G'
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
endfunction