flycheck-vale icon indicating copy to clipboard operation
flycheck-vale copied to clipboard

Needs updating for newer versions of Vale

Open bovinespirit opened this issue 4 years ago • 1 comments

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.

bovinespirit avatar Feb 16 '21 23:02 bovinespirit

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).

abingham avatar Feb 17 '21 07:02 abingham