This repository was archived by the owner on Aug 21, 2022. It is now read-only.

Description
Describe the bug
I have a weird issue with getting LanguageTool to point out spelling errors. The only way I can get it to highlight them is like this:
> nvim test.md
:LanguageToolCheck (throws an error)
:LanguageToolSetUp
:LanguageToolCheck
The test.md file contains the following:
This plugn can uses job feature on Vim 8.0.27 (or later) or Neovim. It's enable asynchronous comand executin so you dont need to be blcked untill the check have been done on Vim8+ or Neovim.
If I skip step 2 the spelling errors are not discovered LanguageTool, and it only points out the "dont" (which is a grammar error) and nothing else. They don't show up in :LanguageToolSummary either.
This is my init.vim:
call plug#begin('~/.vim/bundle')
Plug 'vigoux/LanguageTool.nvim'
call plug#end()
let g:languagetool_server_command = '/usr/bin/languagetool --http'
To Reproduce
Follow the steps described above, but skip step 2.
Expected behavior
Spelling errors are highlighted without doing step 2.
Screenshots
When all four steps are followed:

When step 2 is skipped:

I'm on Arch Linux.