Replace nrepl.el with cider
This commit is contained in:
parent
2b28cfb41b
commit
4aa57ec81c
1 changed files with 6 additions and 6 deletions
|
@ -47,18 +47,18 @@
|
|||
(add-hook 'clojure-mode-hook (lambda ()
|
||||
(run-hooks 'prelude-clojure-mode-hook)))))
|
||||
|
||||
(eval-after-load 'nrepl
|
||||
(eval-after-load 'cider
|
||||
'(progn
|
||||
(add-hook 'nrepl-interaction-mode-hook 'nrepl-turn-on-eldoc-mode)
|
||||
(add-hook 'cider-interaction-mode-hook 'cider-turn-on-eldoc-mode)
|
||||
|
||||
(defun prelude-nrepl-mode-defaults ()
|
||||
(defun prelude-cider-mode-defaults ()
|
||||
(subword-mode +1)
|
||||
(run-hooks 'prelude-interactive-lisp-coding-hook))
|
||||
|
||||
(setq prelude-nrepl-mode-hook 'prelude-nrepl-mode-defaults)
|
||||
(setq prelude-cider-repl-mode-hook 'prelude-cider-repl-mode-defaults)
|
||||
|
||||
(add-hook 'nrepl-repl-mode-hook (lambda ()
|
||||
(run-hooks 'prelude-nrepl-mode-hook)))))
|
||||
(add-hook 'cider-repl-mode-hook (lambda ()
|
||||
(run-hooks 'prelude-cider-repl-mode-hook)))))
|
||||
|
||||
(provide 'prelude-clojure)
|
||||
|
||||
|
|
Loading…
Reference in a new issue