I want my .ejs files to have html syntax, however, it always opens the files as Plain Text.
In sublime you can choose \"Open all with current extension as...\" then ch
Edit: since the time I wrote this answer, this functionality has been added to Atom core, see this answer for details.
(https://atom.io/packages/file-types)
It does exactly what the title question asks for: you can define new file extensions for existing languages with a simple edit of the config.cson
file.