tumashu / ivy-posframe

ivy-posframe is a ivy extension, which let ivy use posframe to show its candidate menu, ivy-posframe is a **GNU ELPA** package.
414 stars 26 forks source link

Question: set `ivy-posframe-display-functions-alist' nil suddenly not work #94

Closed tshu-w closed 4 years ago

tshu-w commented 4 years ago

after update to the newest version in melpa (20200521.319),set `ivy-posframe-display-functions-alist' nil not working suddenly, here is my config, swiper is also show in posframe:

(use-package ivy-posframe
  :ensure t
  :hook (ivy-mode . ivy-posframe-mode)
  :init
  (setq ivy-posframe-parameters '((left-fringe . 8)
                                  (right-fringe . 8))
        ivy-posframe-display-functions-alist '((swiper . nil)
                                               (complete-symbol . ivy-posframe-display-at-point)
                                               (t . ivy-posframe-display-at-frame-center))))
xwkwh commented 4 years ago

me too since last update

skye-repos commented 4 years ago

Just chiming in to agree with everything said so far.

tumashu commented 4 years ago

At the moment, I have no find why... :-(

tumashu commented 4 years ago

try:

(setq ivy-posframe-parameters '((left-fringe . 8)
                                (right-fringe . 8))
      ivy-posframe-display-functions-alist '((swiper . ivy-display-function-fallback)
                                             (complete-symbol . ivy-posframe-display-at-point)
                                             (t . ivy-posframe-display-at-frame-center)))
tshu-w commented 4 years ago

@tumashu thx, it works.