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