From fd3383f851b444ecfab3ecca842d722cf0deb77c Mon Sep 17 00:00:00 2001 From: Matthew Toohey Date: Tue, 3 May 2022 21:34:54 -0400 Subject: [PATCH] feat(languages): detect cjs as javascript --- languages.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages.toml b/languages.toml index 10f8f8441493..35438758e322 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 = "//"