Skip to content

Commit 125bbc1

Browse files
committed
Update javascript.vim
1 parent 635e87f commit 125bbc1

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
@@ -60,7 +60,7 @@ let s:skip_expr = "synIDattr(synID(line('.'),col('.'),1),'name') =~ '".s:syng_st
6060
let s:line_term = '\s*\%(\%(\/\/\).*\)\=$'
6161

6262
" Regex that defines continuation lines, not including (, {, or [.
63-
let s:continuation_regex = '\%([\\*+/.:]\|\%(<%\)\@<![=-]\|\W[|&?]\|||\|&&\|[^=]=[^=].*,\)' . s:line_term
63+
let s:continuation_regex = '\%([\\*+/.:]\|\%(<%\)\@<![=-]\|\W[|&?]\|||\|&&\|[^=]=[^=>].*,\)' . s:line_term
6464

6565
" Regex that defines continuation lines.
6666
" TODO: this needs to deal with if ...: and so on

0 commit comments

Comments
 (0)