rhysd / vim-grammarous

A powerful grammar checker for Vim using LanguageTool.
1.1k stars 41 forks source link

Downloading the jar file appears to be blocking #83

Open mjsobrep opened 5 years ago

mjsobrep commented 5 years ago

Great plugin. Thanks.

When I run the check the first time, it goes to download the jar file, which is fine. But that operation seems to be blocking. I can't do anything inside of vim. There is just the Downloading jar file from ... in the status bar. Once the download is done, everything is back to normal. This isn't a big deal on a fast internet connection, but on a slow one, this can take a while.

Vim info: Version info: NVIM v0.3.7 Build type: Release LuaJIT 2.0.4 Compilation: /usr/bin/x86_64-linux-gnu-gcc -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=1 -DDISABLE_LOG -Wdate-time -D_FORTIFY_SOURCE=1 -Wconversion -O2 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -Wno-array-bounds -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_UNIBI_HAS_VAR_FROM -I/build/neovim-le7iOq/neovim-0.3.7/build/config -I/build/neovim-le7iOq/neovim-0.3.7/src -I/usr/include -I/build/neovim-le7iOq/neovim-0.3.7/build/src/nvim/auto -I/build/neovim-le7iOq/neovim-0.3.7/build/include Compiled by team+vim@tracker.debian.org

Features: +acl +iconv +jemalloc +tui See ":help feature-compile"

system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info

Duan-JM commented 4 years ago

Hi, I have the same issue too. I solved it by download it manually.

  1. Download LanguageTool-stable.zip from here.
  2. unzip the zip file, then copy the whole unzipped file to ~/your/grammous-vim/root/misc/
  3. try :GrammousCheck again, everything will be fine.

PS: I don't know why the download in the vim is blocked, however, in safari is pretty well (1.4m/s for me)