Skip to content

Commit f90b8c8

Browse files
authored
more cleaning
1 parent ad8d72a commit f90b8c8

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
@@ -145,7 +145,7 @@ function GetJavascriptIndent()
145145
\ (line !~ '^\s*[/*]' && s:IsSyn(v:lnum,1,s:syng_comment))
146146
return -1
147147
endif
148-
if line !~ '^\%(\/\*\|\s*\/\/\)' && synIDattr(synID(v:lnum, 1, 1), 'name') =~? s:syng_comment)
148+
if line !~ '^\%(\/\*\|\s*\/\/\)' && s:IsSyn(v:lnum,1,s:syng_comment)
149149
return cindent(v:lnum)
150150
endif
151151

0 commit comments

Comments
 (0)