Skip to content

Commit

Permalink
Fix several typos in docs/configuration/language-settings.md (#5027)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexJameson committed Dec 2, 2023
1 parent 2856880 commit 4c542a4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/configuration/language-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ nav_order: 11

## LanguageSettings

The Language Settings allow configuration to be based upon the programming language and/or the e.
There are two selector fields `locale` and `languageId`.
The Language Settings allow configuration to be based upon the programming language and/or the locale.
There are two selector fields: `locale` and `languageId`.

- `languageId` defines which programming languages to match against.
A value of `"python,javascript"` will match against _python_ and _javascript_ files. To match against ALL programming languages,
use `"*"`.
- `locale` defines which spoken languages to match against. A value of `"en-GB,nl"` will match against British English or Dutch.
A value of `"*"` will match all spoken languages.
- Most configuration values allowed in a `cspell.json` file can be define or redefine within the `languageSettings`.
- Most configuration values allowed in a `cspell.json` file can be defined or redefined within the `languageSettings`.

```javascript
"languageSettings": [
Expand All @@ -35,7 +35,7 @@ There are two selector fields `locale` and `languageId`.
],
// List of dictionaries to enable by name in `dictionaryDefinitions`
"dictionaries": ["cpp"],
// Dictionary definitions can also be supplied here. They are only used iff "languageId" and "locale" match.
// Dictionary definitions can also be supplied here. They are only used if "languageId" and "locale" match.
"dictionaryDefinitions": []
}
]
Expand Down

0 comments on commit 4c542a4

Please sign in to comment.