OCLint: minor cleanup.
This commit is contained in:
parent
ac09497345
commit
4c86d054a2
@ -30,7 +30,8 @@ set cpo&vim
|
|||||||
|
|
||||||
function! SyntaxCheckers_c_oclint_GetLocList() dict
|
function! SyntaxCheckers_c_oclint_GetLocList() dict
|
||||||
let makeprg = self.makeprgBuild({
|
let makeprg = self.makeprgBuild({
|
||||||
\ 'post_args_after': '-- -c ' . syntastic#c#ReadConfig(g:syntastic_oclint_config_file) })
|
\ 'args_after': '-text',
|
||||||
|
\ 'post_args_before': '-- -c ' . syntastic#c#ReadConfig(g:syntastic_oclint_config_file) })
|
||||||
|
|
||||||
let errorformat =
|
let errorformat =
|
||||||
\ '%E%f:%l:%c: %m P1 ,' .
|
\ '%E%f:%l:%c: %m P1 ,' .
|
||||||
@ -45,7 +46,8 @@ function! SyntaxCheckers_c_oclint_GetLocList() dict
|
|||||||
\ 'makeprg': makeprg,
|
\ 'makeprg': makeprg,
|
||||||
\ 'errorformat': errorformat,
|
\ 'errorformat': errorformat,
|
||||||
\ 'subtype': 'Style',
|
\ 'subtype': 'Style',
|
||||||
\ 'postprocess': ['compressWhitespace', 'sort'] })
|
\ 'postprocess': ['compressWhitespace', 'sort'],
|
||||||
|
\ 'returns': [0, 3, 5] })
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
call g:SyntasticRegistry.CreateAndRegisterChecker({
|
call g:SyntasticRegistry.CreateAndRegisterChecker({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user