rhysd / vim-grammarous

A powerful grammar checker for Vim using LanguageTool.
1.09k stars 41 forks source link

Getting a --level message when running GrammarousCheck #113

Open theoldinternet opened 7 months ago

theoldinternet commented 7 months ago

I'm trying to get Grammarous running, and I ran into this error when I run :GrammarousCheck.

image

my init.vim looks like this:

call plug#begin()
Plug 'rhysd/vim-grammarous'
call plug#end()
trappmartin commented 3 months ago

Have the same issue, strangely enough this is technically just the last line in the usage message of language tools. I guess something in the execution goes wrong.

https://github.com/languagetool-org/languagetool/blob/9ca673bf53b6aaf3e2830e8e92a5794a1659a7db/languagetool-commandline/src/main/java/org/languagetool/commandline/CommandLineParser.java#L227

Plasny commented 2 months ago

Having the same issue. After checking :messages it says that the languagetool doesn't have --api parameter.

image

Edit: Same issue as https://github.com/rhysd/vim-grammarous/issues/110, which proposes a fix that worked for me :)