Open AdrienLemaire opened 4 years ago
I am getting this too, did you find a solution?
unfortunately no
I also ran into this issue. Here I found a pointer to vim-grammarous which also integrates LanguageTool into Vim and Neovim.
Here's what I did to get it running after having installed LanguageTool on Arch with pacman -S languagetool
:
Since I use vim-plug, I added Plug 'https://github.com/rhysd/vim-grammarous'
to init.vim (Neovim's equivalent to vimrc) and ran PlugInstall
.
If you now run :GrammarousCheck
on your buffer, it will download LanguageTool's jar file and check the text for English grammar mistakes.
Since we already have LanguageTool installed system-wide, we avoid that duplication of jar files by making vim-grammarous use the existing jar file by adding let g:grammarous#languagetool_cmd = 'languagetool'
to init.vim or vimrc.
I don't know if vim-grammarous can use LanguageTool's feature to detect the language of text, which is why I specified the given language with :GrammarousCheck --lang=de
. This checks the text in the current buffer for German grammar mistakes.
If vim-grammarous assumes the wrong language, it will report that no grammar mistakes were found. Meaning if your faulty text is German and you run :GrammarousCheck
(without specifying the language it defaults to English) it will report there are no grammar mistakes.
I am getting this now and haven't got any solution.
For me, it worked, if I configured the plugin to use the /usr/bin/languagetool script instead of the jar. See #24
Hi and thanks for making this plugin. I'm really interested by it covering Japanese (although vim spellcheck doesn't).
I installed languagetool on arch linux, and added the vim config:
But when I try to run
:LanguageToolCheck
, I'm getting:Your documentation mentions installing the latest version of languagetool, and I seem to be using the version 5