Add keyword to a grammar, where/how?


Hello world !
I really appreciate Atom and use it essentially for C++.
I can’t find on the website/forum how i’m supposed to modify the C++ grammar to add keywords.
For exemple i want “string” or “cout” to be in a specific color which file i’m suppose to modify and how?
I’m sorry if missed something ^^’ but I really searched.


If you want to change how Atom highlights a particular language, that behavior is controlled by the language package. In this case, you are looking for the language-c package.


Ok I looked at the code and I guess what I’m suppose to do to get what I want but where is the langage-c folder ? In .atom folder ?