on master help sign in
feat(languages): detect cjs as javascript (#2387)
commit25d128b5b3f173e3aa8b455194d128af35cc2a27 authorMatthew Toohey <contact@mtoohey.com> dateTue 3 May 2022, 21:55 (4 years ago) parente529ca1
1 file changed+1−1
languages.toml+1−1
languages.toml+1−1
@@ -303,7 +303,7 @@ source = { git = "https://github.com/omertuc/tree-sitter-go-work", rev = "6dd9dd
303303name = "javascript"
304304scope = "source.js"
305305injection-regex = "^(js|javascript)$"
306−file-types = ["js", "jsx", "mjs"]
306+file-types = ["js", "jsx", "mjs", "cjs"]
307307shebangs = ["node"]
308308roots = []
309309comment-token = "//"