ui/popup: fix which-key vslot fix
Prevents which-key from "sharing" popups. Reported by @mfiano
This commit is contained in:
parent
7f1b526f64
commit
d8928d4aab
1 changed files with 12 additions and 10 deletions
|
@ -301,6 +301,8 @@ instead of switch-to-buffer-*."
|
||||||
|
|
||||||
|
|
||||||
;; `which-key'
|
;; `which-key'
|
||||||
|
(after! which-key
|
||||||
|
(when (eq which-key-popup-type 'side)
|
||||||
(setq which-key-popup-type 'custom
|
(setq which-key-popup-type 'custom
|
||||||
which-key-custom-popup-max-dimensions-function (lambda (_) (which-key--side-window-max-dimensions))
|
which-key-custom-popup-max-dimensions-function (lambda (_) (which-key--side-window-max-dimensions))
|
||||||
which-key-custom-hide-popup-function #'which-key--hide-buffer-side-window
|
which-key-custom-hide-popup-function #'which-key--hide-buffer-side-window
|
||||||
|
@ -310,7 +312,7 @@ instead of switch-to-buffer-*."
|
||||||
(lambda (buffer alist)
|
(lambda (buffer alist)
|
||||||
(+popup-display-buffer-stacked-side-window
|
(+popup-display-buffer-stacked-side-window
|
||||||
buffer (append '((vslot . -9999)) alist)))))
|
buffer (append '((vslot . -9999)) alist)))))
|
||||||
(which-key--show-buffer-side-window act-popup-dim))))
|
(which-key--show-buffer-side-window act-popup-dim))))))
|
||||||
|
|
||||||
|
|
||||||
;; `windmove'
|
;; `windmove'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue