mirror of
https://github.com/helix-editor/helix
synced 2024-11-10 10:34:45 +01:00
Adding mjs to JavaScript file type (#607)
MJS is a file extension for JavaScript modules using standard ES2015+
This commit is contained in:
parent
ad462b4322
commit
fdd6530df7
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user