标签: node.js ecmascript-6 config atom-editor
我升级到节点8.5并且我正在使用ES模块...这需要mjs ...如何在Atom 1.20中将JavaScript扩展添加到JavaScript语法高亮显示器?
答案 0 :(得分:1)
来源:https://atom.io/packages/file-types
来源:http://flight-manual.atom.io/using-atom/sections/basic-customization/#_customizing_language_recognition
config.cson "*": core: customFileTypes: "source.js": [ 'mjs' ]