feat(languages): detect cjs as javascript (#2387)

pull/2395/head
Matthew Toohey 3 years ago committed by GitHub
parent e529ca1b92
commit 25d128b5b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save