Minor cleanup.
This commit is contained in:
parent
dde4a9be9c
commit
a7841c869b
@ -19,7 +19,7 @@ if has('reltime')
|
||||
lockvar! g:_SYNTASTIC_START
|
||||
endif
|
||||
|
||||
let g:_SYNTASTIC_VERSION = '3.6.0-23'
|
||||
let g:_SYNTASTIC_VERSION = '3.6.0-24'
|
||||
lockvar g:_SYNTASTIC_VERSION
|
||||
|
||||
" Sanity checks {{{1
|
||||
|
@ -155,9 +155,9 @@ function! SyntaxCheckers_java_javac_GetLocList() dict " {{{1
|
||||
|
||||
" unashamedly stolen from *errorformat-javac* (quickfix.txt) and modified to include error types
|
||||
let errorformat =
|
||||
\ '%E%f:%l:\ error:\ %m,'.
|
||||
\ '%W%f:%l:\ warning:\ %m,'.
|
||||
\ '%A%f:%l:\ %m,'.
|
||||
\ '%E%f:%l: error: %m,'.
|
||||
\ '%W%f:%l: warning: %m,'.
|
||||
\ '%A%f:%l: %m,'.
|
||||
\ '%+Z%p^,'.
|
||||
\ '%+C%.%#,'.
|
||||
\ '%-G%.%#'
|
||||
|
@ -22,7 +22,7 @@ function! SyntaxCheckers_json_jsonval_GetLocList() dict
|
||||
let makeprg = self.makeprgBuild({})
|
||||
|
||||
let errorformat =
|
||||
\ '%E%f:\ %m\ at\ line\ %l,' .
|
||||
\ '%E%f: %m at line %l,' .
|
||||
\ '%-G%.%#'
|
||||
|
||||
return SyntasticMake({
|
||||
|
@ -21,7 +21,7 @@ set cpo&vim
|
||||
function! SyntaxCheckers_nasm_nasm_GetLocList() dict
|
||||
let makeprg = self.makeprgBuild({
|
||||
\ 'args_after': '-X gnu -f elf' .
|
||||
\ ' -I ' . syntastic#util#shescape(expand('%:p:h', 1) . '/') .
|
||||
\ ' -I ' . syntastic#util#shescape(expand('%:p:h', 1) . syntastic#util#Slash()) .
|
||||
\ ' ' . syntastic#c#NullOutput() })
|
||||
|
||||
let errorformat = '%f:%l: %t%*[^:]: %m'
|
||||
|
@ -28,14 +28,14 @@ function! SyntaxCheckers_slim_slimrb_GetLocList() dict
|
||||
|
||||
if s:slimrb_new
|
||||
let errorformat =
|
||||
\ '%C\ %#%f\, Line %l\, Column %c,'.
|
||||
\ '%-G\ %.%#,'.
|
||||
\ '%C %#%f\, Line %l\, Column %c,'.
|
||||
\ '%-G %.%#,'.
|
||||
\ '%ESlim::Parser::SyntaxError: %m,'.
|
||||
\ '%+C%.%#'
|
||||
else
|
||||
let errorformat =
|
||||
\ '%C\ %#%f\, Line %l,'.
|
||||
\ '%-G\ %.%#,'.
|
||||
\ '%C %#%f\, Line %l,'.
|
||||
\ '%-G %.%#,'.
|
||||
\ '%ESlim::Parser::SyntaxError: %m,'.
|
||||
\ '%+C%.%#'
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user