Unnamed repository; edit this file 'description' to name the repository.
Recognize `bun.lock` as JSONC
Fixes #12651
Michael Davis 2025-01-24
parent d123193 · commit fcf981b
-rw-r--r--languages.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index ca95d5af..84a0783e 100644
--- a/languages.toml
+++ b/languages.toml
@@ -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"