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
For example if you want to open all .jsx files with javascript syntax, you need to add this to your config.cson
.jsx
config.cson
"*": core: customFileTypes: "source.js": [ "jsx" ]
This maps all .jsx files to open with js syntax.