lang/emacs-lisp: add popup rule for buttercup results

This commit is contained in:
Henrik Lissner 2019-07-26 13:59:52 +02:00
parent 8834ba17e3
commit 6a9a127b0f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -133,6 +133,7 @@ This marks a foldable marker for `outline-minor-mode' in elisp buffers.")
;; it will associate it with the mode.
(defvar buttercup-minor-mode-map (make-sparse-keymap))
:config
(set-popup-rule! "^\\*Buttercup\\*$" :size 0.45 :select nil :ttl 0)
(set-yas-minor-mode! 'buttercup-minor-mode)
(when (featurep 'evil)
(add-hook 'buttercup-minor-mode-hook #'evil-normalize-keymaps))