From 58dfa158c2fdb06eeee84f983ea264aa5345e473 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Fern=C3=A1ndez=20Serrata?= <76864299+Rudxain@users.noreply.github.com> Date: Mon, 23 Jun 2025 10:07:10 -0400 Subject: [PATCH] feat(langs): acknowledge `jsconfig` (#13822) --- languages.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/languages.toml b/languages.toml index 39eabfddc..2be8845cc 100644 --- a/languages.toml +++ b/languages.toml @@ -545,7 +545,7 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-json", rev = "73076 name = "jsonc" scope = "source.json" injection-regex = "jsonc" -file-types = ["jsonc", { glob = "tsconfig.json" }, { glob = "bun.lock" }] +file-types = ["jsonc", { glob = "{t,j}sconfig.json" }, { glob = "bun.lock" }] comment-token = "//" block-comment-tokens = { start = "/*", end = "*/" } grammar = "json" @@ -816,7 +816,7 @@ injection-regex = "(js|javascript)" language-id = "javascript" file-types = ["js", "mjs", "cjs", "rules", "es6", "pac", { glob = ".node_repl_history" }, { glob = "jakefile" }] shebangs = ["node"] -roots = [ "package.json" ] +roots = [ "package.json", "jsconfig.json" ] comment-token = "//" block-comment-tokens = { start = "/*", end = "*/" } language-servers = [ "typescript-language-server" ] @@ -844,7 +844,7 @@ scope = "source.jsx" injection-regex = "jsx" language-id = "javascriptreact" file-types = ["jsx"] -roots = [ "package.json" ] +roots = [ "package.json", "jsconfig.json" ] comment-token = "//" block-comment-tokens = { start = "/*", end = "*/" } language-servers = [ "typescript-language-server" ]