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',
|
||||
\ 'subchecker': 'checkpatch' })
|
||||
|
||||
let errorformat = '%f:%l: %tARNING: %m,%f:%l: %tRROR: %m'
|
||||
let errorformat =
|
||||
\ '%f:%l: %tARNING: %m,' .
|
||||
\ '%f:%l: %tRROR: %m'
|
||||
|
||||
return SyntasticMake({
|
||||
\ 'makeprg': makeprg,
|
||||
\ 'errorformat': errorformat,
|
||||
\ 'defaults': {'bufnr': bufnr("")} })
|
||||
\ 'subtype': 'Style' })
|
||||
endfunction
|
||||
|
||||
call g:SyntasticRegistry.CreateAndRegisterChecker({
|
||||
|
Loading…
x
Reference in New Issue
Block a user