on master help sign in
feat(languages): detect cjs as javascript (#2387)
25d128bMatthew Toohey
languages.toml+1−1
@@ -303,7 +303,7 @@ source = { git = "https://github.com/omertuc/tree-sitter-go-work", rev = "6dd9dd
303name = "javascript"
303name = "javascript"
304scope = "source.js"
304scope = "source.js"
305injection-regex = "^(js|javascript)$"
305injection-regex = "^(js|javascript)$"
306−file-types = ["js", "jsx", "mjs"]
306+file-types = ["js", "jsx", "mjs", "cjs"]
307shebangs = ["node"]
307shebangs = ["node"]
308roots = []
308roots = []
309comment-token = "//"
309comment-token = "//"