From 901b8a6f2e1940e121d10ce09556cb841fefcd3b Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Sat, 4 Jan 2020 08:40:03 -0500 Subject: [PATCH] Add flycheck support for Clojure --- emacs/init.org | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/emacs/init.org b/emacs/init.org index d2e3914..a0887ca 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -1838,13 +1838,22 @@ Start with clojure-mode: (:+ 3))) #+END_SRC +Add flycheck support: +#+BEGIN_SRC emacs-lisp + (use-package flycheck-clojure + :commands (flycheck-clojure-setup)) +#+END_SRC + Sprinkle in some CIDER: #+BEGIN_SRC emacs-lisp (use-package cider :commands (cider-mode cider-jack-in cider-jack-in-clojurescript) - :config (setq cider-known-endpoints - '(("local" "localhost" "4005")) - cider-prompt-for-symbol nil) + :config + (setq cider-known-endpoints + '(("local" "localhost" "4005")) + cider-prompt-for-symbol nil) + (general-def cider-mode-map "C-c t" cider-test-commands-map) + (flycheck-clojure-setup) :hook ((clojure-mode . cider-mode) (clojurescript-mode . cider-mode) (clojurec-mode . cider-mode))