Skip to content

Commit c15142c

Browse files
authored
allow bind op as line end continuation
1 parent 5a5cdf0 commit c15142c

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
@@ -65,7 +65,7 @@ if !exists('g:javascript_opfirst')
6565
let g:javascript_opfirst = '\%([<>,?^%|*&]\|\/[^/*]\|\([-.:+]\)\1\@!\|=>\@!\|in\%(stanceof\)\=\>\)'
6666
endif
6767
if !exists('g:javascript_continuation')
68-
let g:javascript_continuation = '\%([<=,.?/*^%|&]\|:\@<!:\|+\@<!+\|-\@<!-\|=\@<!>\|\<in\%(stanceof\)\=\)'
68+
let g:javascript_continuation = '\%([<=,.?/*^%|&:]\|+\@<!+\|-\@<!-\|=\@<!>\|\<in\%(stanceof\)\=\)'
6969
endif
7070

7171
let g:javascript_opfirst = s:line_pre . g:javascript_opfirst

0 commit comments

Comments
 (0)