checkstyle: Add missing check for space after switch
This commit is contained in:
parent
730d796a17
commit
788e359072
2
3rdparty/pulkomandy/checkstyle.vim
vendored
2
3rdparty/pulkomandy/checkstyle.vim
vendored
@ -20,7 +20,7 @@
|
||||
:fu FuncHaikuCheck()
|
||||
call matchadd('Style', '\%>80v.\+', -1) " line over 80 char
|
||||
call matchadd('Style', '^\s* \s*', -1) " spaces instead of tabs
|
||||
call matchadd('Style', '\(for\|if\|select\|while\)(', -1)
|
||||
call matchadd('Style', '\(for\|if\|select\|switch\|while\)(', -1)
|
||||
"missing space after control statement
|
||||
call matchadd('Style', '^\(\(?!\/\/\|\/\*\).\)*//\S', -1)
|
||||
" Missing space at comment start
|
||||
|
Loading…
x
Reference in New Issue
Block a user