checkstyle: Add missing check for space after switch

This commit is contained in:
Adrien Destugues
2014-08-21 08:43:44 +02:00
parent 730d796a17
commit 788e359072
+1 -1
View File
@@ -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