Adding mjs to JavaScript file type (#607)

MJS is a file extension for JavaScript modules using standard ES2015+
This commit is contained in:
Yerlan 2021-08-18 02:40:00 +02:00 committed by GitHub
parent ad462b4322
commit fdd6530df7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,7 +88,7 @@ indent = { tab-width = 4, unit = "\t" }
name = "javascript" name = "javascript"
scope = "source.js" scope = "source.js"
injection-regex = "^(js|javascript)$" injection-regex = "^(js|javascript)$"
file-types = ["js"] file-types = ["js", "mjs"]
roots = [] roots = []
comment-token = "//" comment-token = "//"
# TODO: highlights-jsx, highlights-params # TODO: highlights-jsx, highlights-params