abingham / flycheck-vale

Flycheck integration for the vale natural language linter
MIT License
64 stars 16 forks source link

Needs updating for newer versions of Vale #17

Open bovinespirit opened 3 years ago

bovinespirit commented 3 years ago

As this project is no longer maintained I'll leave this as a hint for other users.

I had to edit flycheck-vale.el in order to get it to work. Specifically I had to add some more arguments to the command line. After I made this change it worked for me.

  (let* ((process-connection-type nil)
         (proc (start-process "flycheck-vale-process"
                              flycheck-vale-output-buffer
                              flycheck-vale-program
                              "--output"
                              "JSON"
                              "--config"
                              "/path/to/.vale.ini"
                              "--ext"
                              ".adoc"
                              )))

The --ext .adoc is because I'm using asciidoc files. If you're using it with multiple projects and configurations you'll need to specify the config path in a better way.

abingham commented 3 years ago

I'm not really maintaining this any more, but I'm happy to merge in simple PRs (with the understanding that I won't actually review them in any depth).