atom / language-c

C support in Atom
Other
118 stars 153 forks source link

C++ variables highlighted as reserved words #121

Open sservulo opened 8 years ago

sservulo commented 8 years ago

Hi, everyone

I'm running Atom 1.4.0 (language-c package version 0.51.1) on a Fedora 23 install and noticed this today:

If I create any variable name with the regex [fgms][A-Z][a-zA-Z0-9]* is highlighted as a reserved word. Example: captura de tela de 2016-03-02 14-11-40

MaximSokolov commented 8 years ago

Rule: c.cson#L38-L41 It has variable.other scope which is used for regular variables. Refs: atom/one-dark-syntax#54, #98, naming conventions