checkstyle: Add missing check for space after switch
This commit is contained in:
Vendored
+1
-1
@@ -20,7 +20,7 @@
|
|||||||
:fu FuncHaikuCheck()
|
:fu FuncHaikuCheck()
|
||||||
call matchadd('Style', '\%>80v.\+', -1) " line over 80 char
|
call matchadd('Style', '\%>80v.\+', -1) " line over 80 char
|
||||||
call matchadd('Style', '^\s* \s*', -1) " spaces instead of tabs
|
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
|
"missing space after control statement
|
||||||
call matchadd('Style', '^\(\(?!\/\/\|\/\*\).\)*//\S', -1)
|
call matchadd('Style', '^\(\(?!\/\/\|\/\*\).\)*//\S', -1)
|
||||||
" Missing space at comment start
|
" Missing space at comment start
|
||||||
|
|||||||
Reference in New Issue
Block a user