How do I make a default syntax by filetype in Atom text editor?

前端 未结 7 595
暗喜
暗喜 2021-01-31 02:17

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

7条回答
  •  旧巷少年郎
    2021-01-31 02:25

    It looks likes there's a brand new package has been released for this. https://atom.io/packages/language-ejs.

提交回复
热议问题