diff options
author | Matthew Toohey | 2022-05-04 01:55:40 +0000 |
---|---|---|
committer | GitHub | 2022-05-04 01:55:40 +0000 |
commit | 25d128b5b3f173e3aa8b455194d128af35cc2a27 (patch) | |
tree | 9687894712e9929107fc8de67f354ec2e6bfbe8d | |
parent | e529ca1b92ac03fe1e4386756ee5811212ce96bd (diff) |
feat(languages): detect cjs as javascript (#2387)
-rw-r--r-- | languages.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml index 10f8f844..35438758 100644 --- a/languages.toml +++ b/languages.toml @@ -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 = "//" |