diff options
author | Alan Pearce | 2017-06-23 16:49:21 +0200 |
---|---|---|
committer | Alan Pearce | 2017-06-23 16:49:21 +0200 |
commit | ddc67cf42b0d0a7053dc23cded37a4ed54e8f605 (patch) | |
tree | 906153de71c7f54bfb2b0ebd87afadc6849df83e /emacs/.emacs.d | |
parent | 5ff313b3ea8508574a9e3aea84850d246a696876 (diff) | |
download | nixfiles-ddc67cf42b0d0a7053dc23cded37a4ed54e8f605.tar.lz nixfiles-ddc67cf42b0d0a7053dc23cded37a4ed54e8f605.tar.zst nixfiles-ddc67cf42b0d0a7053dc23cded37a4ed54e8f605.zip |
Emacs: Only enable flycheck-flow when executable found
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r-- | emacs/.emacs.d/init.org | 1 |
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 |