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
@@ -16,7 +16,7 @@ If you use files with the `*.jsonc` extension when using `Format Document` or ha
To workaround this behavior you can add the following to your `.prettierrc` configuration file:
```json
```json [settings]
{
"overrides": [
{
@@ -40,7 +40,7 @@ To specify a schema inline with your JSON files, add a `$schema` top level key l
For example to for a `.luarc.json` for use with [lua-language-server](https://github.com/LuaLS/lua-language-server/):
```json
```json [settings]
{
"$schema": "https://raw.githubusercontent.com/sumneko/vscode-lua/master/setting/schema.json",
"runtime.version": "Lua 5.4"
@@ -53,7 +53,7 @@ You can alternatively associate JSON Schemas with file paths by via Zed LSP sett
To
```json
```json [settings]
"lsp": {
"json-language-server": {
"settings": {