summary refs log tree commit diff stats
path: root/emacs/.emacs.d/init.org
diff options
context:
space:
mode:
authorAlan Pearce2017-06-23 16:49:21 +0200
committerAlan Pearce2017-06-23 16:49:21 +0200
commitddc67cf42b0d0a7053dc23cded37a4ed54e8f605 (patch)
tree906153de71c7f54bfb2b0ebd87afadc6849df83e /emacs/.emacs.d/init.org
parent5ff313b3ea8508574a9e3aea84850d246a696876 (diff)
downloaddotfiles-ddc67cf42b0d0a7053dc23cded37a4ed54e8f605.tar.lz
dotfiles-ddc67cf42b0d0a7053dc23cded37a4ed54e8f605.tar.zst
dotfiles-ddc67cf42b0d0a7053dc23cded37a4ed54e8f605.zip
Emacs: Only enable flycheck-flow when executable found
Diffstat (limited to 'emacs/.emacs.d/init.org')
-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 e86948b..4b568fe 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