Add flycheck-vale-config-file variable
This commit is contained in:
@@ -65,6 +65,11 @@
|
||||
:type '(string)
|
||||
:group 'flycheck-vale)
|
||||
|
||||
(defcustom flycheck-vale-config-file "~/.vale.ini"
|
||||
"Path to the vale configuration file."
|
||||
:type 'file
|
||||
:group 'flycheck-vale)
|
||||
|
||||
(defvar-local flycheck-vale-enabled t
|
||||
"Buffer-local variable determining if flycheck-vale should be applied.")
|
||||
|
||||
@@ -131,6 +136,8 @@ passing the results to CALLBACK."
|
||||
(proc (start-process "flycheck-vale-process"
|
||||
flycheck-vale-output-buffer
|
||||
flycheck-vale-program
|
||||
"--config"
|
||||
(expand-file-name flycheck-vale-config-file)
|
||||
"--output"
|
||||
"JSON")))
|
||||
(let ((checker checker)
|
||||
|
Reference in New Issue
Block a user