From ddc67cf42b0d0a7053dc23cded37a4ed54e8f605 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 23 Jun 2017 16:49:21 +0200 Subject: Emacs: Only enable flycheck-flow when executable found --- emacs/.emacs.d/init.org | 1 + 1 file changed, 1 insertion(+) (limited to 'emacs') diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index e86948b1..4b568fe9 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -1851,6 +1851,7 @@ Show flycheck errors in a little popup, so I don't lose my place #+BEGIN_SRC emacs-lisp (use-package flycheck-flow :after js2-mode + :if (executable-find "flow") :config (progn (flycheck-add-next-checker 'javascript-eslint 'javascript-flow))) #+END_SRC -- cgit 1.4.1