mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-06 15:13:33 -05:00
ui/posframe: use hook instead of :after
This commit is contained in:
@@ -23,9 +23,8 @@
|
||||
|
||||
|
||||
(def-package! ivy-posframe
|
||||
:when (featurep! :completion ivy)
|
||||
:when EMACS26+
|
||||
:after ivy
|
||||
:hook (ivy-mode . ivy-posframe-enable)
|
||||
:preface
|
||||
;; This function searches the entire `obarray' just to populate
|
||||
;; `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))
|
||||
(push (cons fn nil) ivy-display-functions-alist))
|
||||
|
||||
(ivy-posframe-enable)
|
||||
|
||||
(setq ivy-height 16
|
||||
ivy-fixed-height-minibuffer nil
|
||||
ivy-posframe-parameters `((min-width . 90)
|
||||
|
Reference in New Issue
Block a user