Skip to content

Commit

Permalink
simplify comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bounceme committed Sep 25, 2016
1 parent 2202e58 commit ce7c06c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indent/javascript.vim
Expand Up @@ -163,7 +163,7 @@ function GetJavascriptIndent()
\ l:line !~ '^\s*[/*]' && syns =~? s:syng_comment
return -1
endif
if l:line !~ '^\%(\/\*\|\s*\/\/\)' && syns =~? s:syng_comment
if l:line =~ '^\s*\*' && syns =~? s:syng_comment
return cindent(v:lnum)
endif
let l:lnum = s:PrevCodeLine(v:lnum - 1)
Expand Down

0 comments on commit ce7c06c

Please sign in to comment.