From e049e2ba7fdfe1d9e841c8274bc95bc6334ee7a4 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Tue, 31 Mar 2026 10:55:31 +0200 Subject: [PATCH] languages: Mark `.json.dist` as a JSON file (#52473) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Context ## How to Review ## Self-Review Checklist - [x] I've reviewed my own diff for quality, security, and reliability - [ ] Unsafe blocks (if any) have justifying comments - [ ] The content is consistent with the [UI/UX checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) - [ ] Tests cover the new/changed behavior - [ ] Performance impact has been considered and is acceptable Release Notes: - Marked `.json.dist` as a `json` file --- crates/grammars/src/json/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/grammars/src/json/config.toml b/crates/grammars/src/json/config.toml index fcae481beb..e2999b2df5 100644 --- a/crates/grammars/src/json/config.toml +++ b/crates/grammars/src/json/config.toml @@ -1,6 +1,6 @@ name = "JSON" grammar = "json" -path_suffixes = ["json", "flake.lock", "geojson", "prettierrc"] +path_suffixes = ["json", "flake.lock", "geojson", "prettierrc", "json.dist"] line_comments = ["// "] autoclose_before = ",]}" brackets = [