Add comment tokens for JSONC

Fixes #12491
pull/12497/head
Michael Davis 2025-01-11 08:42:17 -05:00
parent 9721144e03
commit b26903cd13
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -488,6 +488,8 @@ name = "jsonc"
scope = "source.json"
injection-regex = "jsonc"
file-types = ["jsonc", { glob = "tsconfig.json" }]
comment-token = "//"
block-comment-tokens = { start = "/*", end = "*/" }
grammar = "json"
language-servers = [ "vscode-json-language-server" ]
auto-format = true