You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a line contains a slash and a comment, the plugin highlights the text from the slash to the comment as a regex, then fails to highlight the comment.
varresult=1/2;// this is a comment, but it won't be highlightedvarblock=2/3;/* this also will consider /3;/ as a regex */
Activity
mngyuan commentedon Jul 29, 2014
default vim syntax highlighting also gets this behavior wrong
jelera commentedon Aug 1, 2014
Yes, I see it too. The regex to match the JavaScript regexes is quite complex. I'll suggest to stick with
//
as your line comments for now.