Emacs: Load flycheck-vale only if vale is executable
Alan Pearce alan@alanpearce.eu
Sun, 04 Jun 2017 15:52:46 +0200
1 files changed, 1 insertions(+), 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)))