Cosmetic change: checkpatch is a style checker.
This commit is contained in:
parent
e8579fc8c9
commit
6e90447a31
@ -32,12 +32,14 @@ function! SyntaxCheckers_c_checkpatch_GetLocList()
|
|||||||
\ 'filetype': 'c',
|
\ 'filetype': 'c',
|
||||||
\ 'subchecker': 'checkpatch' })
|
\ 'subchecker': 'checkpatch' })
|
||||||
|
|
||||||
let errorformat = '%f:%l: %tARNING: %m,%f:%l: %tRROR: %m'
|
let errorformat =
|
||||||
|
\ '%f:%l: %tARNING: %m,' .
|
||||||
|
\ '%f:%l: %tRROR: %m'
|
||||||
|
|
||||||
return SyntasticMake({
|
return SyntasticMake({
|
||||||
\ 'makeprg': makeprg,
|
\ 'makeprg': makeprg,
|
||||||
\ 'errorformat': errorformat,
|
\ 'errorformat': errorformat,
|
||||||
\ 'defaults': {'bufnr': bufnr("")} })
|
\ 'subtype': 'Style' })
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
call g:SyntasticRegistry.CreateAndRegisterChecker({
|
call g:SyntasticRegistry.CreateAndRegisterChecker({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user