We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d47868c commit b0f5629Copy full SHA for b0f5629
indent/javascript.vim
@@ -37,7 +37,7 @@ else
37
endfunction
38
endif
39
40
-let s:case_stmt = '\<\%(case\>\s*[^[:blank:]:].\{-}\|default\s*\):\C'
+let s:case_stmt = '\<\%(case\>\s*[^ \t:].*\|default\s*\):\C'
41
42
" Regex of syntax group names that are or delimit string or are comments.
43
let s:syng_strcom = 'string\|comment\|regex\|special\|doc\|template'
0 commit comments