Ensure evil popup rules are defined later
Otherwise they fall before ui/popup's fallback rules in display-buffer-alist
This commit is contained in:
parent
068cf5f7d4
commit
895cf136d5
1 changed files with 5 additions and 3 deletions
|
@ -44,9 +44,11 @@ line with a linewise comment.")
|
||||||
|
|
||||||
(put 'evil-define-key* 'lisp-indent-function 'defun)
|
(put 'evil-define-key* 'lisp-indent-function 'defun)
|
||||||
|
|
||||||
|
(defun +evil|init-popup-rules ()
|
||||||
(set-popup-rules!
|
(set-popup-rules!
|
||||||
'(("^\\*evil-registers" :size 0.3)
|
'(("^\\*evil-registers" :size 0.3)
|
||||||
("^\\*Command Line" :size 8)))
|
("^\\*Command Line" :size 8))))
|
||||||
|
(add-hook 'doom-post-init-hook #'+evil|init-popup-rules)
|
||||||
|
|
||||||
;; Change the cursor color in emacs mode
|
;; Change the cursor color in emacs mode
|
||||||
(defvar +evil--default-cursor-color "#ffffff")
|
(defvar +evil--default-cursor-color "#ffffff")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue