Hi,
Sorry if I post in the wrong forum, I didn’t find any “bug” of “fix” one though…
So, I am currently making a new programming language (mostly for my own usage) and wanted to developp a new Atom syntax highlighting for it. In front of the complexity and time needed to make a full syntax package, I decided to simply fork the language-javascript
package from Atom’s Github repository and just edit it.
I replaced all “js” by “sn”, “JavaScript” by “SilverNight”, and so on in every single file until there is no “js” or “javascript” remaining anywhere. Then, I opened a terminal and typed apm link ./language-silvernight
to link my edited package.
Now I can use the “SilverNight” syntax highlighting in the editor, but there is a problem : colors are exactly the same for any code I typed, excepted for operators and the ‘&’ symbol, which are usually colored in turquoise. I tried with both the current version of the JavaScript package used in my Atom’s version (the latest Atom version) as well as the latest version of the package from its own repository. The result is exactly the same.
Here is the difference between the JavaScript and SilverNight (the one I’m making) packages :
JavaScript package
My own package
If you want to check it, the source code is here (zip file).
Thanks by advance for your answers!