Skip to content

Commit b0f5629

Browse files
authored
de-noising
1 parent d47868c commit b0f5629

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

indent/javascript.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ else
3737
endfunction
3838
endif
3939

40-
let s:case_stmt = '\<\%(case\>\s*[^[:blank:]:].\{-}\|default\s*\):\C'
40+
let s:case_stmt = '\<\%(case\>\s*[^ \t:].*\|default\s*\):\C'
4141

4242
" Regex of syntax group names that are or delimit string or are comments.
4343
let s:syng_strcom = 'string\|comment\|regex\|special\|doc\|template'

0 commit comments

Comments
 (0)