Closed Daniel-Hug closed 8 years ago
Fixed in dev (3095).
I haven't upgraded my sublime to 3095+ yet so this may have been fixed, but I'll just post here that I see similar results for this code (the comment is highlighted orange like the other parameters instead of being gray like other comments):
function splice(start, deleteCount /*[, newNode1, newNode2]*/) {
}
Works in 3099 (and 3095 too, likely).
Reproduce
Paste this JS into sublime (it is good JS):
Notice the poor syntax highlighting of
function(
which it treats like a parameter:Removing
.prototype
fixes the issue:Environment