From f4d836ee874a86d1731a3a6f4c8445debe10f0dd Mon Sep 17 00:00:00 2001 From: Dhruv Bhanushali Date: Tue, 23 Jun 2026 08:01:50 +0400 Subject: [PATCH 1/2] Include `.code-workspace` as a JSON extension --- src/syntax_mapping/builtins/common/50-json.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syntax_mapping/builtins/common/50-json.toml b/src/syntax_mapping/builtins/common/50-json.toml index 6b3252e8..3555d34b 100644 --- a/src/syntax_mapping/builtins/common/50-json.toml +++ b/src/syntax_mapping/builtins/common/50-json.toml @@ -1,3 +1,3 @@ # JSON Lines is a simple variation of JSON #2535 [mappings] -"JSON" = ["*.jsonl", "*.jsonc", "*.jsonld", "*.geojson", "*.ndjson"] +"JSON" = ["*.jsonl", "*.jsonc", "*.jsonld", "*.geojson", "*.ndjson", "*.code-workspace"] From d117bf23202a91978c7497f3cdc89cf8e57e5924 Mon Sep 17 00:00:00 2001 From: Dhruv Bhanushali Date: Tue, 23 Jun 2026 08:08:14 +0400 Subject: [PATCH 2/2] Summarise the change in the `CHANGELOG.md` file --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e98c19a..2410b5c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -67,6 +67,7 @@ - Include subdirectories in SSH Config syntax mapping, see #3758 (@injust) - Add Ghostty syntax mapping, see #3759 (@injust) - Add syntax highlighting for `Caddyfile` #3789 (@CosmicHorrorDev) +- Include `.code-workspace` as a JSON extension #3809 (@dhruvkb) ## Themes