We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent faf8bda commit cd0fc28Copy full SHA for cd0fc28
1 file changed
indent/javascript.vim
@@ -62,7 +62,7 @@ let s:line_term = '\s*\%(\%(\/\%(\%(\*.\{-}\*\/\)\|\%(\*\+\)\)\)\s*\)\=$'
62
63
" configurable regexes that define continuation lines, not including (, {, or [.
64
if !exists('g:javascript_opfirst')
65
- let g:javascript_opfirst = '\%([<>,:?^%|*&]\|\([-/.+]\)\1\@!\|=>\@!\|in\%(stanceof\)\=\>\)'
+ let g:javascript_opfirst = '\%([<>,:?^%|*&]\|\([-/.+]\)\%(\1\|\*\)\@!\|=>\@!\|in\%(stanceof\)\=\>\)'
66
endif
67
if !exists('g:javascript_continuation')
68
let g:javascript_continuation = '\%([<=,.?/*:^%|&]\|+\@<!+\|-\@<!-\|=\@<!>\|\<in\%(stanceof\)\=\)'
0 commit comments