LanguageTool.nvim icon indicating copy to clipboard operation
LanguageTool.nvim copied to clipboard

Confused on how to make this work with arch linux's LanguageTool package.

Open SeniorMars opened this issue 4 years ago • 2 comments

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, however this have given me the error that I haven't started the server. I'm a bit confused on this and would appropriate the help.

SeniorMars avatar May 28 '21 03:05 SeniorMars

Use this:

let g:languagetool_server_command = '/usr/bin/languagetool --http'

aflyingpumpkin avatar Sep 14 '21 01:09 aflyingpumpkin

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')

trepetti avatar Oct 10 '21 20:10 trepetti