Sublime Forum

Syntax Highlighting - Ruby - Classes

#1

This is a minor annoyance of mine and I don’t know how to fix it.

When I type

Person

It gets highlighted according to the color scheme.

if I type

Person.new

as soon as I type the dot Person loses its highlighting (or gets overridden by another highlighting rule). Now my class names are the same color as most of the rest of the code, which is less than helpful.

Any idea how I can fix this?

ST 2

0 Likes