Skip to content

Commit fc43554

Browse files
authored
case-sensitivity
1 parent 336d435 commit fc43554

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
@@ -83,7 +83,7 @@ endfunction
8383

8484
" strip line of comment
8585
function s:StripLine(c)
86-
return a:c !~ s:expr_case ? substitute(a:c, '\%(:\@<!\/\/.*\)$', '','') : a:c
86+
return a:c !~# s:expr_case ? substitute(a:c, '\%(:\@<!\/\/.*\)$', '','') : a:c
8787
endfunction
8888

8989
" Check if the character at lnum:col is inside a string, comment, or is ascii.

0 commit comments

Comments
 (0)