Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker image? #82

Open
kaihendry opened this issue Jul 18, 2019 · 2 comments
Open

Docker image? #82

kaihendry opened this issue Jul 18, 2019 · 2 comments

Comments

@kaihendry
Copy link

Would be cool to try this out from a Docker image since I am not prepared to installed Java on my Archlinux system.

@jpbruinsslot
Copy link

jpbruinsslot commented Apr 13, 2020

let g:grammarous#languagetool_cmd = 'docker run -t --entrypoint java -v $HOME/.config/nvim/plugged/vim-grammarous/misc/LanguageTool-4.9:/LanguageTool -v /tmp:/tmp openjdk:8-jre-alpine -jar /LanguageTool/languagetool-commandline.jar $@'

Update the volume with the location of LanguageTool based on your pluginmanager. If someone knows how to pass in that automatically in your .vimrc / init.vim that would be helpful.

@iazel
Copy link

iazel commented Sep 5, 2021

I would recommend trying Nix package manager, then you just have to run nix-env -iA nixpkgs.languagetool and let this plugin use it through:

let g:grammarous#languagetool_cmd = 'languagetool-commandline'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants