We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 336d435 commit fc43554Copy full SHA for fc43554
1 file changed
indent/javascript.vim
@@ -83,7 +83,7 @@ endfunction
83
84
" strip line of comment
85
function s:StripLine(c)
86
- return a:c !~ s:expr_case ? substitute(a:c, '\%(:\@<!\/\/.*\)$', '','') : a:c
+ return a:c !~# s:expr_case ? substitute(a:c, '\%(:\@<!\/\/.*\)$', '','') : a:c
87
endfunction
88
89
" Check if the character at lnum:col is inside a string, comment, or is ascii.
0 commit comments