Add flycheck support for Clojure
This commit is contained in:
parent
fc7fa03725
commit
901b8a6f2e
@ -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
|
||||
: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))
|
||||
|
Loading…
Reference in New Issue
Block a user