summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-06-23 16:49:21 +0200
committerAlan Pearce2017-06-23 16:49:21 +0200
commitddc67cf42b0d0a7053dc23cded37a4ed54e8f605 (patch)
tree906153de71c7f54bfb2b0ebd87afadc6849df83e
parent5ff313b3ea8508574a9e3aea84850d246a696876 (diff)
downloadnixfiles-ddc67cf42b0d0a7053dc23cded37a4ed54e8f605.tar.lz
nixfiles-ddc67cf42b0d0a7053dc23cded37a4ed54e8f605.tar.zst
nixfiles-ddc67cf42b0d0a7053dc23cded37a4ed54e8f605.zip
Emacs: Only enable flycheck-flow when executable found
-rw-r--r--emacs/.emacs.d/init.org1
1 files changed, 1 insertions, 0 deletions
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