all repos — archive/dotfiles @ ddc67cf42b0d0a7053dc23cded37a4ed54e8f605

Superseded by nixfiles

Emacs: Only enable flycheck-flow when executable found
Alan Pearce alan@alanpearce.eu
Fri, 23 Jun 2017 16:49:21 +0200
commit

ddc67cf42b0d0a7053dc23cded37a4ed54e8f605

parent

5ff313b3ea8508574a9e3aea84850d246a696876

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M emacs/.emacs.d/init.orgemacs/.emacs.d/init.org
@@ -1851,6 +1851,7 @@ #+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