Updated formatting as per guidelines

This commit is contained in:
Michael Robinson 2014-12-05 15:54:16 +13:00
parent 55b535618f
commit 9dc6b6108c

View File

@ -33,15 +33,12 @@ function! SyntaxCheckers_javascript_flow_GetLocList() dict
let makeprg = self.makeprgBuild({ let makeprg = self.makeprgBuild({
\ 'args': '' }) \ 'args': '' })
" BLANK LINE let errorformat =
let errorformat = '%E' \ '%E,' .
" ^FILEPATH:LINE:COL:UNKNOWN:ERROR_START \ '%C%f:%l:%v\,%c: %m,' .
let errorformat .= ',%C%f:%l:%v\,%c: %m' \ '%C%\w%\\+%m,' .
" ^IGNORE ERROR_CONTINUE \ '%Z%\s%m,' .
let errorformat .= ',%C%\w%\\+%m' \ '%Z%m'
" ^ OTHER_FILEPATH:LINE:COL:UNKNOWN: ERROR_END
let errorformat .= ',%Z%\s%m'
let errorformat .= ',%Z%m'
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
endfunction endfunction