From 25d128b5b3f173e3aa8b455194d128af35cc2a27 Mon Sep 17 00:00:00 2001 From: Matthew Toohey Date: Tue, 3 May 2022 21:55:40 -0400 Subject: [PATCH] feat(languages): detect cjs as javascript (#2387) --- 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 = "//"