Remove depreciated cider-turn-on-eldoc-mode

Use more general 'eldoc-mode instead. Also enable eldoc-mode in the
repl as well.
This commit is contained in:
sooheon 2016-04-11 00:54:58 +09:00 committed by Fabien Dubosson
parent 14b650e81e
commit 4c543ee25c

View file

@ -10,7 +10,6 @@
subword
))
(defun clojure/init-cider ()
(use-package cider
:defer t
@ -24,6 +23,7 @@
(push "\\*cider-repl\.\+\\*" spacemacs-useful-buffers-regexp)
(add-hook 'clojure-mode-hook 'cider-mode)
(add-hook 'cider-mode-hook 'eldoc-mode)
(add-hook 'cider-repl-mode-hook 'eldoc-mode)
(if dotspacemacs-smartparens-strict-mode
(add-hook 'cider-repl-mode-hook #'smartparens-strict-mode)))
:config