We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5fba22 commit fe096c0Copy full SHA for fe096c0
indent/javascript.vim
@@ -348,7 +348,7 @@ function GetJavascriptIndent()
348
349
" If we are in a multi-line comment, cindent does the right thing.
350
if s:IsInMultilineComment(v:lnum, 1) && !s:IsLineComment(v:lnum, 1) &&
351
- \ s:IsInMultilineComment(v:lnum, match(line, '\s*$'))
+ \ s:IsInMultilineComment(v:lnum, match(line, '\s*$')) && line !~ '^\/\*'
352
return cindent(v:lnum)
353
endif
354
0 commit comments