You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running :GrammarousCheck will always attempt to download LanguageTool, and fail due to the spaces in my path (gives an error when trying to create the directory showing the path stopping at the first space). Manually downloading and extracting it will do the same thing. I've confirmed it was the correct download with my WSL Vim that actually ran the automatic download and ran the command correctly.
I think the spaces in the path to my vim-grammarous plugin are causing the issue, since it won't recognize that I manually downloaded and extracted the files to the correct location.
Fix: To just make it work, I manually set the g:grammarous#languagetool_cmd variable to use the languagetool-commandline.jar file. Not ideal, but it works. :)
letg:grammarous#languagetool_cmd='java -jar "C:\Users\My User with Spaces\vimfiles\plugged\vim-grammarous\misc\LanguageTool-5.2\languagetool-commandline.jar"'
The text was updated successfully, but these errors were encountered:
OS: Windows
Running
:GrammarousCheck
will always attempt to download LanguageTool, and fail due to the spaces in my path (gives an error when trying to create the directory showing the path stopping at the first space). Manually downloading and extracting it will do the same thing. I've confirmed it was the correct download with my WSL Vim that actually ran the automatic download and ran the command correctly.I think the spaces in the path to my vim-grammarous plugin are causing the issue, since it won't recognize that I manually downloaded and extracted the files to the correct location.
Fix: To just make it work, I manually set the
g:grammarous#languagetool_cmd
variable to use thelanguagetool-commandline.jar
file. Not ideal, but it works. :)The text was updated successfully, but these errors were encountered: