Skip to content

Commit c6cf517

Browse files
author
Mathieu Quinette
committed
Correct the fix.
1 parent f621002 commit c6cf517

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
@@ -42,7 +42,7 @@ let s:syng_string = 'regex\c'
4242
let s:syng_multiline = 'comment\c'
4343

4444
" Regex of syntax group names that are line comment.
45-
let s:syng_linecom = 'linecomment'
45+
let s:syng_linecom = 'linecomment\c'
4646

4747
" Expression used to check whether we should skip a match with searchpair().
4848
let s:skip_expr = "synIDattr(synID(line('.'),col('.'),1),'name') =~ '".s:syng_strcom."'"

0 commit comments

Comments
 (0)