Fix vertico-posframe
in CLI
This commit is contained in:
parent
f811c9e658
commit
079331dc54
3 changed files with 12 additions and 8 deletions
|
@ -33,6 +33,12 @@
|
|||
url = "github:firmart/notmuch-notify";
|
||||
flake = false;
|
||||
};
|
||||
# TODO: use from MELPA when v0.7.5 reaches it
|
||||
# https://github.com/tumashu/vertico-posframe/issues/36
|
||||
extra-package-vertico-posframe = {
|
||||
url = "github:tumashu/vertico-posframe";
|
||||
flake = false;
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs @ {flake-parts, ...}:
|
||||
|
|
12
init.el
12
init.el
|
@ -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
|
||||
|
|
|
@ -7,6 +7,7 @@ with epkgs; let
|
|||
chatgpt = [polymode];
|
||||
copilot = [editorconfig dash s];
|
||||
notmuch-notify = [alert notmuch];
|
||||
vertico-posframe = [posframe vertico];
|
||||
};
|
||||
|
||||
overrideAttrsPerPackage = {
|
||||
|
@ -93,7 +94,6 @@ with epkgs; let
|
|||
consult-org-roam
|
||||
pass
|
||||
password-store-otp
|
||||
vertico-posframe
|
||||
eldoc-box
|
||||
go-translate
|
||||
notmuch
|
||||
|
|
Reference in a new issue