Skip to content

Commit ce7c06c

Browse files
authored
simplify comments
1 parent 2202e58 commit ce7c06c

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
@@ -163,7 +163,7 @@ function GetJavascriptIndent()
163163
\ l:line !~ '^\s*[/*]' && syns =~? s:syng_comment
164164
return -1
165165
endif
166-
if l:line !~ '^\%(\/\*\|\s*\/\/\)' && syns =~? s:syng_comment
166+
if l:line =~ '^\s*\*' && syns =~? s:syng_comment
167167
return cindent(v:lnum)
168168
endif
169169
let l:lnum = s:PrevCodeLine(v:lnum - 1)

0 commit comments

Comments
 (0)