From fcf981bbd747d486d3695916fe8f6f926b4f8f76 Mon Sep 17 00:00:00 2001 From: Michael Davis <mcarsondavis@gmail.com> Date: Thu, 23 Jan 2025 14:03:10 -0500 Subject: [PATCH] Recognize `bun.lock` as JSONC Fixes #12651 --- languages.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"