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