Skip to content

Won't recognize that LanguageTool is installed #97

@AceofSpades5757

Description

@AceofSpades5757

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 the languagetool-commandline.jar file. Not ideal, but it works. :)

let g:grammarous#languagetool_cmd='java -jar "C:\Users\My User with Spaces\vimfiles\plugged\vim-grammarous\misc\LanguageTool-5.2\languagetool-commandline.jar"'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions