clojure layer: move popwin config in its own init function... again

This commit is contained in:
syl20bnr 2015-07-26 01:22:13 -04:00
parent 7050e2f571
commit b2ea9f22e0

View file

@ -42,9 +42,6 @@
;; add support for evil
(push 'cider-stacktrace-mode evil-motion-state-modes)
(push 'cider-popup-buffer-mode evil-motion-state-modes)
;; add cider-doc to popwin
(push '("*cider-doc*" :dedicated t :position bottom :stick t :noselect nil :height 0.4)
popwin:special-display-config)
(defun spacemacs//cider-eval-in-repl-no-focus (form)
"Insert FORM in the REPL buffer and eval it."
@ -247,8 +244,9 @@ the focus."
(defun clojure/pre-init-popwin ()
(spacemacs|use-package-add-hook popwin
:post-config
;; add cider error to popwin special buffers
(push '("*cider-error*" :dedicated t :position bottom :stick t :noselect nil :height 0.4)
popwin:special-display-config)
(push '("*cider-doc*" :dedicated t :position bottom :stick t :noselect nil :height 0.4)
popwin:special-display-config)))
(defun clojure/init-rainbow-delimiters ()