Skip to content

Commit a617694

Browse files
authored
add other comments
1 parent 8043c4b commit a617694

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

indent/javascript.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ function GetJavascriptIndent()
258258
if l:line[:1] == '/*'
259259
let l:line = substitute(l:line,'^\%(\/\*.\{-}\*\/\s*\)*','','')
260260
endif
261-
if l:line =~ '^\/[/*]'
261+
if l:line =~ '^\%(\/[/*]\|-->\|<!--\|#\)'
262262
let l:line = ''
263263
endif
264264

0 commit comments

Comments
 (0)