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({
\ 'args': '' })
" BLANK LINE
let errorformat = '%E'
" ^FILEPATH:LINE:COL:UNKNOWN:ERROR_START
let errorformat .= ',%C%f:%l:%v\,%c: %m'
" ^IGNORE ERROR_CONTINUE
let errorformat .= ',%C%\w%\\+%m'
" ^ OTHER_FILEPATH:LINE:COL:UNKNOWN: ERROR_END
let errorformat .= ',%Z%\s%m'
let errorformat .= ',%Z%m'
let errorformat =
\ '%E,' .
\ '%C%f:%l:%v\,%c: %m,' .
\ '%C%\w%\\+%m,' .
\ '%Z%\s%m,' .
\ '%Z%m'
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
endfunction