From 7e8310a4297fa8b074db9d9b3f74a2757b618616 Mon Sep 17 00:00:00 2001 From: teapo <75266237+4teapo@users.noreply.github.com> Date: Mon, 5 Jan 2026 16:11:00 +0100 Subject: [PATCH] Add `luaurc` path suffix to JSONC (#46037) Closes https://github.com/4teapo/zed-luau/issues/31 Luau `.luaurc` config files contain JSON but that allows comments and trailing commas, making them a perfect fit for JSONC. Release Notes: - N/A --- crates/languages/src/jsonc/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/languages/src/jsonc/config.toml b/crates/languages/src/jsonc/config.toml index bc5fd5b6c69468eba7a4a1cccfdc3406cec9175d..85fb9e26c446ad705d9225422ae4fae29e03b708 100644 --- a/crates/languages/src/jsonc/config.toml +++ b/crates/languages/src/jsonc/config.toml @@ -1,6 +1,6 @@ name = "JSONC" grammar = "jsonc" -path_suffixes = ["jsonc", "bun.lock", "devcontainer.json", "pyrightconfig.json", "tsconfig.json"] +path_suffixes = ["jsonc", "bun.lock", "devcontainer.json", "pyrightconfig.json", "tsconfig.json", "luaurc"] line_comments = ["// "] autoclose_before = ",]}" brackets = [