mfussenegger / nvim-lint

An asynchronous linter plugin for Neovim complementary to the built-in Language Server Protocol support.
GNU General Public License v3.0
1.98k stars 209 forks source link

Help setting up LanguageTool #163

Closed mflova closed 1 year ago

mflova commented 2 years ago

I have been trying to set this linter up. From languagetool.lua I could see that the executed command that should retrieve the corrections is languagetool --json --stdin. However, in my case, the languagetoolexecutable I found always opens a separate window with a graphic interface. (And actually this is what happens when I activate this linter through nvim-lint and execute the try_lint command) Where can I get the languagetool version used to implement this neovim integrated version?

mfussenegger commented 2 years ago

I also can't get it to work anymore. I think I'll just remove - no idea how you're supposed to call it without starting the GUI.

pca006132 commented 2 years ago

I think the command changed to languagetool-commandline?

mfussenegger commented 2 years ago

If they did I'd be happy to merge a PR that updates the linter definition

mfussenegger commented 1 year ago

Got a PR here that fixed some stuff - so I assume it is working now: https://github.com/mfussenegger/nvim-lint/pull/396