diff --git a/syntax_checkers/coffee.vim b/syntax_checkers/coffee.vim index 92a45b85..71473d7d 100644 --- a/syntax_checkers/coffee.vim +++ b/syntax_checkers/coffee.vim @@ -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