# The following constant gets highlighted properly
CONST_A = 'hey'
# ... buit this one doesn't.
CONST_B = 'there'
# this one works. a
CONST_C = 'pretty'
# as does this..
CONST_D = 'horse'
Looks like the highlighter thinks CONST_B is a method to be called, ignoring that the preceding dot is inside a comment.
The culprit seems to be the change to rubyConstant in b60da6c
Fix constant definitions after comments.
These multi-line edge cases are almost impossible to find in the wild so I won't bother
supporting most of them for now.