Skip to content

Commit

Permalink
feat(languages): detect cjs as javascript (#2387)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtoohey31 authored May 4, 2022
1 parent e529ca1 commit 25d128b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "//"
Expand Down

0 comments on commit 25d128b

Please sign in to comment.