docs: Validate JSON snippets (settings, keymap, tasks, etc) (#40043)

Closes #ISSUE

Release Notes:

- N/A *or* Added/Fixed/Improved ...
This commit is contained in:
Ben Kunkle
2025-10-12 00:19:57 -04:00
committed by GitHub
parent deef58bef7
commit abe1fd5e16
74 changed files with 849 additions and 640 deletions
+3 -3
View File
@@ -23,7 +23,7 @@ sql-formatter --version
3. Configure Zed to automatically format SQL with `sql-formatter`:
```json
```json [settings]
"languages": {
"SQL": {
"formatter": {
@@ -44,7 +44,7 @@ You can add this to Zed project settings (`.zed/settings.json`) or via your Zed
Sql-formatter also allows more precise control by providing [sql-formatter configuration options](https://github.com/sql-formatter-org/sql-formatter#configuration-options). To provide these, create a `.sql-formatter.json` file in your project:
```json
```json [settings]
{
"language": "postgresql",
"tabWidth": 2,
@@ -55,7 +55,7 @@ Sql-formatter also allows more precise control by providing [sql-formatter confi
When using a `.sql-formatter.json` file you can use a more simplified set of Zed settings since the language need not be specified inline:
```json
```json [settings]
"languages": {
"SQL": {
"formatter": {