fix(languages): treat tsconfig.json as jsonc (#12031)

This commit is contained in:
Yuki Kobayashi 2024-11-21 07:19:23 +09:00 committed by GitHub
parent 8ed8d52e9d
commit 548fd57489
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -478,7 +478,7 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-json", rev = "73076
name = "jsonc" name = "jsonc"
scope = "source.json" scope = "source.json"
injection-regex = "jsonc" injection-regex = "jsonc"
file-types = ["jsonc"] file-types = ["jsonc", { glob = "tsconfig.json" }]
grammar = "json" grammar = "json"
language-servers = [ "vscode-json-language-server" ] language-servers = [ "vscode-json-language-server" ]
auto-format = true auto-format = true