ui/posframe: use hook instead of :after
This commit is contained in:
parent
dc33c72d19
commit
d0ecf97956
1 changed files with 1 additions and 4 deletions
|
@ -23,9 +23,8 @@
|
||||||
|
|
||||||
|
|
||||||
(def-package! ivy-posframe
|
(def-package! ivy-posframe
|
||||||
:when (featurep! :completion ivy)
|
|
||||||
:when EMACS26+
|
:when EMACS26+
|
||||||
:after ivy
|
:hook (ivy-mode . ivy-posframe-enable)
|
||||||
:preface
|
:preface
|
||||||
;; This function searches the entire `obarray' just to populate
|
;; This function searches the entire `obarray' just to populate
|
||||||
;; `ivy-display-functions-props'. There are 15k entries in mine! This is
|
;; `ivy-display-functions-props'. There are 15k entries in mine! This is
|
||||||
|
@ -49,8 +48,6 @@
|
||||||
(dolist (fn '(swiper counsel-rg counsel-ag counsel-pt counsel-grep counsel-git-grep))
|
(dolist (fn '(swiper counsel-rg counsel-ag counsel-pt counsel-grep counsel-git-grep))
|
||||||
(push (cons fn nil) ivy-display-functions-alist))
|
(push (cons fn nil) ivy-display-functions-alist))
|
||||||
|
|
||||||
(ivy-posframe-enable)
|
|
||||||
|
|
||||||
(setq ivy-height 16
|
(setq ivy-height 16
|
||||||
ivy-fixed-height-minibuffer nil
|
ivy-fixed-height-minibuffer nil
|
||||||
ivy-posframe-parameters `((min-width . 90)
|
ivy-posframe-parameters `((min-width . 90)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue