mirror of https://github.com/helix-editor/helix
feat(languages): detect cjs as javascript (#2387)
parent
e529ca1b92
commit
25d128b5b3
|
@ -303,7 +303,7 @@ source = { git = "https://github.com/omertuc/tree-sitter-go-work", rev = "6dd9dd
|
||||||
name = "javascript"
|
name = "javascript"
|
||||||
scope = "source.js"
|
scope = "source.js"
|
||||||
injection-regex = "^(js|javascript)$"
|
injection-regex = "^(js|javascript)$"
|
||||||
file-types = ["js", "jsx", "mjs"]
|
file-types = ["js", "jsx", "mjs", "cjs"]
|
||||||
shebangs = ["node"]
|
shebangs = ["node"]
|
||||||
roots = []
|
roots = []
|
||||||
comment-token = "//"
|
comment-token = "//"
|
||||||
|
|
Loading…
Reference in New Issue