Closed mawkler closed 3 years ago
Starting the LanguageTool
server can take a bit of time, and should output a message when the server successfully started, did you tried waiting a bit before actually running the check ?
Is LanguageToolSetUp
non-blocking because I can move the cursor immediately after running it and don't get any indication of it running or finishing. I have tried leaving Neovim for a couple of minutes after running LanguageToolSetUp
but LanguageToolCheck
still outputs the error above.
Also, running echo LanguageTool#setup()
immediately prints 0
, which based on based on this comment indicates a success.
:LanguageToolSetUp
is indeed near-non blocking, as it just starts the server.
The issue here seems weird, could you set g:languagetool_debug
, then run the server, and paste the output of :messages
here ?
Had the same problem and appending --http
to g:languagetool_server_command
seems to have solved the issue.
could you set
g:languagetool_debug
, then run the server, and paste the output of:messages
here ?
Sorry I realized I never responded to this. I did but still didn't get any message when running LanguageToolSetUp
, but fortunately @MaksRawski's solution with appending --http
to g:languagetool_server_command
. So thanks to you both!
I'm trying to get LanguageTool working with it installed locally on my system.
which languagetool
outputs/usr/bin/languagetool
and so I putlet g:languagetool_server_command='/usr/bin/languagetool'
in myinit.vim
. After running:LanguageToolSetUp
(which gave no response after running it btw), running:LanguageToolCheck
I get a bunch of errors, including "LanguageTool server not started, please run :LanguageToolSetUp
" which I'm guessing is the reason for the rest of the following errors:What am I doing wrong?