The current package, language-ejs, is non-functional and needed to be improved into a working standard. This is EJS-2, the working EJS syntax highlighting grammar for the Atom editor.
Currently, this is a development install and is done manually. Go to your Atom's package folder (defaults to /Users/YourUsername/.atom/packages), create a folder named language-ejs-2
and extract this repository into that folder. Reload Atom.
Usually, when you have a defined <html>
tag in your document, then even if the file type is .ejs HTML will still be used as the default syntax highlighting. You can override this by editing your Atom's core config.
Go to File > Config and fine the core
section and add (or edit) this customFileTypes
definition into it so your core now looks like this (plus whatever was originally there)
core:
customFileTypes:
"source.ejs-2": [
"ejs"
]
Now all EJS file types will use the proper syntax highlighting defined by this Atom package for EJS.
Made for use in Anime Tavern's development. Report issues to the Issues tab and we'll get it solved.