Recognize bun.lock as JSONC

Fixes #12651
This commit is contained in:
Michael Davis 2025-01-23 14:03:10 -05:00
parent d123193902
commit fcf981bbd7
No known key found for this signature in database

View file

@ -489,7 +489,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" }]
file-types = ["jsonc", { glob = "tsconfig.json" }, { glob = "bun.lock" }]
comment-token = "//"
block-comment-tokens = { start = "/*", end = "*/" }
grammar = "json"