Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

C++ variables highlighted as reserved words #121

Open
sservulo opened this issue Mar 2, 2016 · 1 comment
Open

C++ variables highlighted as reserved words #121

sservulo opened this issue Mar 2, 2016 · 1 comment

Comments

@sservulo
Copy link

sservulo commented Mar 2, 2016

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
Copy link
Contributor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants