summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--consult.org17
1 files changed, 5 insertions, 12 deletions
diff --git a/consult.org b/consult.org
index 7741256..f1ac31c 100644
--- a/consult.org
+++ b/consult.org
@@ -16,7 +16,7 @@
:ensure t
:custom ((selectrum-complete-in-buffer nil)
(selectrum-extend-current-candidate-highlight t)
- (selectrum-fix-minibuffer-height nil)
+ (selectrum-fix-vertical-window-height t)
(selectrum-max-window-height 20)
(selectrum-show-indices nil)
(selectrum-count-style 'current/matches)) ;; 'matches
@@ -31,18 +31,11 @@
:bind (:map minibuffer-local-map ("C-M-a" . marginalia-cycle))
:custom ((marginalia-align-offset 1)
- (marginalia-margin-threshold 180)
- (marginalia-separator-threshold 80)
- (marginalia-truncate-width 260)
+ (marginalia-margin-threshold 160)
+ (marginalia-separator-threshold 120)
+ (marginalia-truncate-width 80)
(marginalia-annotators
- '(marginalia-annotators-heavy marginalia-annotators-light nil)))
- :config
- (with-eval-after-load "selectrum"
- (advice-add #'marginalia-cycle
- :after
- (lambda ()
- (when (bound-and-true-p selectrum-mode)
- (selectrum-exhibit))))))
+ '(marginalia-annotators-heavy marginalia-annotators-light nil))))
#+end_src
* consult
#+begin_src emacs-lisp