Also match 'new' errors

This commit is contained in:
Andy Duncan 2011-08-13 21:59:46 -07:00
parent 3574ac167b
commit 313695e2c6

View File

@ -29,7 +29,7 @@ if executable("gjslint")
let gjslintconf = g:syntastic_gjslint_conf
endif
let makeprg = "gjslint" . gjslintconf . " --nosummary --unix_mode --nodebug_indentation --nobeep " . shellescape(expand('%'))
let errorformat="%f:%l:(%n)\ %m,%-G1 files checked, no errors found.,%-G%.%#"
let errorformat="%f:%l:(New Error %n) %m,%f:%l:(%n) %m,%-G1 files checked, no errors found.,%-G%.%#"
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
endfunction
" We're using google gjslint, finished.