mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-08 15:23:35 -05:00
ui/posframe: use hook instead of :after
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user