LanguageTool.nvim
LanguageTool.nvim copied to clipboard
Confused on how to make this work with arch linux's LanguageTool package.
Hello, I've been trying to migrate from https://github.com/dpelle/vim-LanguageTool to this, and to set it up with the arch package, I just had this.
let g:languagetool_cmd='/usr/bin/languagetool'
let g:languagetool_lang="en-US"
I tried to read the documentation for this plugin and thought it was a simple:
let g:languagetool_server_command='/usr/bin/languagetool'
and do :LanguagetoolSetUp
Use this:
let g:languagetool_server_command = '/usr/bin/languagetool --http'
On LanguageTool 5.3, I found that this would attempt to open a GUI. What worked for me (using the 5.3 package from nixpkgs) was:
let g:languagetool_server_command = system('which languagetool-http-server')