I am installing the vim-scripts/LanguageTool
plugin using Vundle:
- Put
Plugin 'vim-scripts/LanguageTool'
in.vimrc
; - Run
:PluginInstall
in a vim file (andVundle
says "Done").
However, when I run :LanguageToolCheck
, I got the following error:
LanuageTool cannot be found at: /home/MY-USE-NAME/languagetool-2.4.1/languagetool-commandline.jar.
You need to install LanguageTool and/or set up g:languagetool_jar to indicate the location of the languagetool-commandline.jar file.
What should I do? Thanks.
The Docs installs the LanguageTool plugin as follows:
$ mkdir ~/.vim
$ cd ~/.vim
$ unzip /path-to/LanguageTool.zip
$ vim -c 'helptags ~/.vim/doc'
Solution:
According to Docs, this plugin needs a standalone LanguageTool for desktop which includes the required languagetool_commandline.jar
. Install it and set g:languagetool_jar
according to the answer below.