-
-
Notifications
You must be signed in to change notification settings - Fork 138
Open
Description
I want to spell check my files in both English and Spanish.
I installed the following extensions:
Installed extensions:
- Code Spell Checker
- Spanish - Code Spell Checker
I updated my settings.json to reflect this:
All good, it works as expected.
I want to use cspell-cli too, so i moved my configuration to an external file.
~/.config/cspell/cspell.json
{
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
"version": "0.2",
"language": "en,es"
}I updated my settings.json to reflect this:
// ...
"cSpell.import": [ "${env:HOME}/.config/cspell/cspell.json" ],All words in spanish are now marked as errors.
I also tried a YAML file
---
$schema: https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json
version: '0.2'
language: en,es
# intentional
[{]}]This should trigger a syntax error and it does not, but relevant to my case, when the file is correct the language settings is still ignored.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels