on master help sign in
Adding mjs to JavaScript file type (#607)

MJS is a file extension for JavaScript modules using standard ES2015+

commitfdd6530df7fa849b86e4fdd3c7d696d89aaf4012 authorYerlan <yerlaser@gmail.com> dateWed 18 Aug 2021, 02:40 (5 years ago) parentad462b4
1 file changed+1−1
languages.toml+1−1
languages.toml+1−1
@@ -88,7 +88,7 @@ indent = { tab-width = 4, unit = "\t" }
8888name = "javascript"
8989scope = "source.js"
9090injection-regex = "^(js|javascript)$"
91−file-types = ["js"]
91+file-types = ["js", "mjs"]
9292roots = []
9393comment-token = "//"
9494# TODO: highlights-jsx, highlights-params