dpelle / vim-LanguageTool

A vim plugin for the LanguageTool grammar checker
280 stars 28 forks source link

Can I tell vim-LanguageTool to use the system languagetool executable? #24

Open mawkler opened 3 years ago

mawkler commented 3 years ago

The instructions tell me to download a languagetool .jar file. I already have the languagetool executable installed on my system installed from my package manager, i.e. when I run which languagetool it outputs /usr/bin/languagetool. Can I tell this plugin to use that instead of having to download an additional .jar file?

leosumi commented 3 years ago

You can use the g:languagetool_cmd variable.

let g:languagetool_cmd='/usr/bin/languagetool'