Cosmetic change: checkpatch is a style checker.

This commit is contained in:
LCD 47 2013-06-07 19:27:48 +03:00
parent e8579fc8c9
commit 6e90447a31

View File

@ -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({