Move rake popwin config to post-init-popwin
This commit is contained in:
parent
713e85bc42
commit
86286574a3
|
@ -95,6 +95,8 @@
|
||||||
|
|
||||||
(defun ruby/post-init-popwin ()
|
(defun ruby/post-init-popwin ()
|
||||||
(push '("*rspec-compilation*" :dedicated t :position bottom :stick t :noselect t :height 0.4)
|
(push '("*rspec-compilation*" :dedicated t :position bottom :stick t :noselect t :height 0.4)
|
||||||
|
popwin:special-display-config)
|
||||||
|
(push '("*rake-compilation*" :dedicated t :position bottom :stick t :noselect t :height 0.4)
|
||||||
popwin:special-display-config))
|
popwin:special-display-config))
|
||||||
|
|
||||||
(defun ruby/init-rbenv ()
|
(defun ruby/init-rbenv ()
|
||||||
|
@ -262,11 +264,7 @@
|
||||||
(defun ruby/init-rake ()
|
(defun ruby/init-rake ()
|
||||||
(use-package rake
|
(use-package rake
|
||||||
:defer t
|
:defer t
|
||||||
:init
|
:init (setq rake-cache-file (concat spacemacs-cache-directory "rake.cache"))
|
||||||
(progn
|
|
||||||
(setq rake-cache-file (concat spacemacs-cache-directory "rake.cache"))
|
|
||||||
(push '("*rake-compilation*" :dedicated t :position bottom :stick t :noselect t :height 0.4)
|
|
||||||
popwin:special-display-config))
|
|
||||||
:config
|
:config
|
||||||
(dolist (mode '(ruby-mode enh-ruby-mode))
|
(dolist (mode '(ruby-mode enh-ruby-mode))
|
||||||
(spacemacs/set-leader-keys-for-major-mode mode
|
(spacemacs/set-leader-keys-for-major-mode mode
|
||||||
|
|
Loading…
Reference in a new issue