Skip to content

Commit af69ead

Browse files
committed
Update javascript.vim
1 parent 1c08044 commit af69ead

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

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

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

0 commit comments

Comments
 (0)