Fix vertico-posframe in CLI

This commit is contained in:
Andrea Ciceri 2023-12-12 01:27:27 +01:00
parent f811c9e658
commit 079331dc54
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
3 changed files with 12 additions and 8 deletions

12
init.el
View file

@ -341,16 +341,14 @@
:config
(vertico-posframe-mode +1)
:custom
(vertico-multiform-commands
'((t
posframe
(vertico-posframe-poshandler . posframe-poshandler-frame-center)
(vertico-posframe-fallback-mode . vertico-buffer-mode))))
(vertico-posframe-min-height 0)
(vertico-posframe-min-width 80)
(vertico-posframe-parameters '((alpha-background . 80)))
;; I'm globally enabling vertico-posframe-mode in spite of being advised against it by the README
;; It seems to work
;;(vertico-multiform-commands
;; '((t
;; posframe
;; (vertico-posframe-poshandler . posframe-poshandler-frame-center)
;; (vertico-posframe-fallback-mode . vertico-buffer-mode))))
)
(use-package marginalia