feat(selectrum): Set window height to match ivy

This commit is contained in:
Edmund Miller 2021-02-17 19:41:09 -06:00 committed by Itai Y. Efrat
parent 5b70b888b8
commit d47f0d6ab6

View file

@ -10,6 +10,7 @@
(unless (featurep! +orderless) (unless (featurep! +orderless)
(setq completion-styles '(substring partial-completion))) (setq completion-styles '(substring partial-completion)))
:config :config
(setq selectrum-fix-vertical-window-height 17)
(defadvice! +selectrum-refresh-on-cycle (&rest _) (defadvice! +selectrum-refresh-on-cycle (&rest _)
:after 'marginalia-cycle :after 'marginalia-cycle
(when (bound-and-true-p selectrum-mode) (selectrum-exhibit)))) (when (bound-and-true-p selectrum-mode) (selectrum-exhibit))))