language-arma-atom icon indicating copy to clipboard operation
language-arma-atom copied to clipboard

Classnames starting with numbers aren't highlighted

Open yanek opened this issue 9 years ago • 3 comments

Take this bit of code :

class 30Rnd_556x45_Stanag {
    ...
};

The classname won't be colored, because it's starting with a number! I don't know if something can be done for this issue, but I'd love to see all my classes in the same color. It can be weird with files containing a large number of magazine classes.

yanek avatar Jun 06 '16 03:06 yanek

Might be because c++ doesn't allow class names to start with digits.

bux avatar Sep 26 '16 07:09 bux

could just copy and edit https://github.com/atom/language-c/blob/master/grammars/c%2B%2B.cson#L279

dedmen avatar Oct 13 '16 17:10 dedmen

Hello @acemod/maintainers. This ticket has been open for over 100 days without any activity.

acemod-bot avatar Jan 21 '17 18:01 acemod-bot