From 548fd574891a92104472bbd437a6762db55ac920 Mon Sep 17 00:00:00 2001 From: Yuki Kobayashi <137767097+aster-void@users.noreply.github.com> Date: Thu, 21 Nov 2024 07:19:23 +0900 Subject: [PATCH] fix(languages): treat tsconfig.json as jsonc (#12031) --- languages.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages.toml b/languages.toml index cfa151803..3f9f224c6 100644 --- a/languages.toml +++ b/languages.toml @@ -478,7 +478,7 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-json", rev = "73076 name = "jsonc" scope = "source.json" injection-regex = "jsonc" -file-types = ["jsonc"] +file-types = ["jsonc", { glob = "tsconfig.json" }] grammar = "json" language-servers = [ "vscode-json-language-server" ] auto-format = true