mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix ivy posframe
The display function was being set on ivy-display-functions-props. The correct variable for it is ivy-display-functions-alist. Reported by randoom in discord.
This commit is contained in:
@ -200,8 +200,9 @@ immediately runs it on the current candidate (ending the ivy session)."
|
||||
'ivy-posframe-display-at-window-bottom-left
|
||||
'ivy-posframe-display-at-window-center
|
||||
'+ivy-display-at-frame-center-near-bottom))
|
||||
(push (cons fn '(:cleanup ivy-posframe-cleanup)) ivy-display-functions-props))
|
||||
(push '(t . +ivy-display-at-frame-center-near-bottom) ivy-display-functions-props))
|
||||
(push (cons fn '(:cleanup ivy-posframe-cleanup)) ivy-display-functions-props)))
|
||||
;; default to posframe display function
|
||||
(setf (alist-get t ivy-display-functions-alist) #'+ivy-display-at-frame-center-near-bottom)
|
||||
|
||||
;; posframe doesn't work well with async sources
|
||||
(dolist (fn '(swiper counsel-rg counsel-ag counsel-pt counsel-grep counsel-git-grep))
|
||||
|
Reference in New Issue
Block a user