Emacs: Load flycheck-vale only if vale is executable
1 file changed, 1 insertion(+), 0 deletions(-)
jump to
M emacs/.emacs.d/init.org → emacs/.emacs.d/init.org
@@ -2388,6 +2388,7 @@ [[https://github.com/ValeLint/vale][Vale]] is a linter, but for prose. Neat idea! Salesman is a bad term. #+BEGIN_SRC emacs-lisp (use-package flycheck-vale + :if (executable-find "vale") :config (progn (add-to-list 'flycheck-vale-modes 'org-mode) (flycheck-vale-setup)))