Skip to content

Commit 5fea23e

Browse files
bouncemebounceme
bounceme
authored and
bounceme
committed
fast attempt for issues with multiple declarations
1 parent 152f36e commit 5fea23e

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
@@ -64,7 +64,7 @@ let s:continuation_regex = '\%([\\*+/.:]\|\%(<%\)\@<![=-]\|\W[|&?]\|||\|&&\|[^=]
6464

6565
" Regex that defines continuation lines.
6666
" TODO: this needs to deal with if ...: and so on
67-
let s:msl_regex = s:continuation_regex.'|'.s:expr_case
67+
let s:msl_regex = s:continuation_regex.'\|'.s:expr_case
6868

6969
let s:one_line_scope_regex = '\%(\<else\>\|\<\%(if\|for\|while\)\>\s*(.*)\)' . s:line_term
7070

0 commit comments

Comments
 (0)