aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYerlan2021-08-18 00:40:00 +0000
committerGitHub2021-08-18 00:40:00 +0000
commitfdd6530df7fa849b86e4fdd3c7d696d89aaf4012 (patch)
tree6baac28e7bb62a40813a5b5fd602075f3bc675ad
parentad462b432260e94568e5ff1da67582d6a0ebcddf (diff)
Adding mjs to JavaScript file type (#607)
MJS is a file extension for JavaScript modules using standard ES2015+
-rw-r--r--languages.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index 700c7565..85785d53 100644
--- a/languages.toml
+++ b/languages.toml
@@ -88,7 +88,7 @@ indent = { tab-width = 4, unit = "\t" }
name = "javascript"
scope = "source.js"
injection-regex = "^(js|javascript)$"
-file-types = ["js"]
+file-types = ["js", "mjs"]
roots = []
comment-token = "//"
# TODO: highlights-jsx, highlights-params