move rspec popup to :config

This commit is contained in:
Otávio Schwanck 2020-05-20 10:20:55 -03:00
parent 412e515020
commit 0b94bbb4e4

View file

@ -136,10 +136,10 @@
:mode ("/\\.rspec\\'" . text-mode)
:init
(setq rspec-use-spring-when-possible nil)
(set-popup-rule! "^\\*\\(rspec-\\)?compilation" :size 0.3 :ttl nil :select t)
(when (featurep! :editor evil)
(add-hook 'rspec-mode-hook #'evil-normalize-keymaps))
:config
(set-popup-rule! "^\\*\\(rspec-\\)?compilation" :size 0.3 :ttl nil :select t)
(setq rspec-use-rvm (executable-find "rvm"))
(map! :localleader
:prefix "t"