docs: Validate JSON snippets (settings, keymap, tasks, etc) (#40043)
Closes #ISSUE Release Notes: - N/A *or* Added/Fixed/Improved ...
This commit is contained in:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user