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 f64dae7 commit f674cbaCopy full SHA for f674cba
indent/javascript.vim
@@ -38,7 +38,7 @@ else
38
endif
39
40
let s:line_pre = '^\s*\%(\%(\%(\/\*.\{-}\)\=\*\+\/\s*\)\=\)\@>'
41
-let s:expr_case = '\<\%(\%(case\>.\+\)\|default\)\s*:\C'
+let s:expr_case = '\<\%(\%(case\>\s*\S.\{-}\)\|default\)\s*:\C'
42
" Regex of syntax group names that are or delimit string or are comments.
43
let s:syng_strcom = '\%(s\%(tring\|pecial\)\|comment\|regex\|doc\|template\)'
44
0 commit comments