Hi, I was wondering if there is a way to disable the spell checker for other languages that doesn't have the same latin characters, for example Arabic or Bengali or Japanese.
There is an indirect way of doing it by having the spell checker ignore it.
If you add ignoreRegExpList to cspell.json or in the VS Code settings cSpell.ignoreRegExpList.
Example for Arabic:
"ignoreRegExpList": [
"/[\\u0621-\\u064A]+/"
]
Thanks Jason, that solved the problem!
There is an indirect way of doing it by having the spell checker ignore it.
If you add
ignoreRegExpListtocspell.jsonor in the VS Code settingscSpell.ignoreRegExpList.Example for Arabic:
"ignoreRegExpList": [ "/[\\u0621-\\u064A]+/" ]
Works for Persian too. thanks
js
"cSpell.ignoreRegExpList": [
"/[\\u0621-\\u064A]+/"
]
Most helpful comment
There is an indirect way of doing it by having the spell checker ignore it.
If you add
ignoreRegExpListtocspell.jsonor in the VS Code settingscSpell.ignoreRegExpList.Example for Arabic: