Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with multiple spelllang set #80

Open
fenuks opened this issue May 30, 2019 · 0 comments
Open

Error with multiple spelllang set #80

fenuks opened this issue May 30, 2019 · 0 comments

Comments

@fenuks
Copy link

fenuks commented May 30, 2019

Vim's spelllang allows user to specify multiple languages, separated with commas.
With settings like:

set spelllang=en_gb,pl
let g:grammarous#use_vim_spelllang = 1

:GrammarousCheck results in error:

vim-grammarous: Grammar check failed: java.lang.IllegalArgumentException: 'en-GB,PL' is not a language code known to LanguageTool. Supported language codes are: ast-ES, be-BY, br-FR, ca-ES, ca-ES-valencia, da-D
K, de, de-AT, de-CH, de-DE, de-DE-x-simple-language, el-GR, en, en-AU, en-CA, en-GB, en-NZ, en-US, en-ZA, eo, es, fa, fr, gl-ES, it, ja-JP, km-KH, nl, pl-PL, pt, pt-AO, pt-BR, pt-MZ, pt-PT, ro-RO, ru-RU, sk-SK,
 sl-SI, sv, ta-IN, tl-PH, uk-UA, xx-XX, zh-CN. The list of languages is read from META-INF/org/languagetool/language-module.properties in the Java classpath. See http://wiki.languagetool.org/java-api for details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant