From e03df074216d09b6ff2cd9215e6826dbf9ca5bfb 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 bc5fd5b6c6..85fb9e26c4 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 = [