fix json readme typos

This commit is contained in:
Martin Aeschlimann 2020-06-30 21:08:04 +02:00
parent aa98d29af9
commit e68707852f

View file

@ -66,7 +66,7 @@ The server supports the following settings:
- `fileMatch`: an array of file names or paths (separated by `/`). `*` can be used as a wildcard. Exclusion patterns can also be defined and start with '!'. A file matches when there is at least one matching pattern and the last matching pattern is not an exclusion pattern.
- `url`: The URL of the schema, optional when also a schema is provided.
- `schema`: The schema content.
- `resultLimit`: The max number foldig ranges and otline symbols to be computed (for performance reasons)
- `resultLimit`: The max number folding ranges and outline symbols to be computed (for performance reasons)
```json
{
@ -160,7 +160,7 @@ Notification:
### Item Limit
If the setting `resultLimit` is set, the JSON language server will limit the number of folding ranges and document symbols computed.
When the limit is reached, a notification `json/resultLimitReached` is sent that can be shown that camn be shown to the user.
When the limit is reached, a notification `json/resultLimitReached` is sent that can be shown that can be shown to the user.
Notification:
- method: 'json/resultLimitReached'
@ -180,7 +180,7 @@ For that, install the `json-language-server` npm module:
`npm install -g json-language-server`
Start the language server with the `json-language-server` command. Use a command line argument to specify the prefered communication channel:
Start the language server with the `json-language-server` command. Use a command line argument to specify the preferred communication channel:
```
json-language-server --node-ipc