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))