syntastic git · master
syntastic vim plugin (fork)
Vim Script 99%git clone https://git.christianimmanuel.de/mirrors-forks/syntastic.gitwget https://git.christianimmanuel.de/mirrors-forks/syntastic/archive/syntastic.tar.gzcheckpatch: Catch strict warnings
When the "--strict" or "--subjective" options are added to checkpatch's arguments, it will return additional warnings of this format type: > file.c:123: CHECK: Alignment should match open parenthesis The extra warnings can be enabled with: > let g:syntastic_c_checkpatch_args = "--strict" Signed-off-by: Brandon Maier <brandon.maier@rockwellcollins.com>
syntax_checkers/c/checkpatch.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/syntax_checkers/c/checkpatch.vim b/syntax_checkers/c/checkpatch.vim index db222413..0503579f 100644 --- a/syntax_checkers/c/checkpatch.vim +++ b/syntax_checkers/c/checkpatch.vim @@ -39,6 +39,7 @@ function! SyntaxCheckers_c_checkpatch_GetLocList() dict let makeprg = self.makeprgBuild({ 'args_after': '--no-summary --no-tree --terse --file' }) let errorformat = + \ '%W%f:%l: CHECK: %m,' . \ '%f:%l: %tARNING: %m,' . \ '%f:%l: %tRROR: %m'