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', \ '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({