diff options
author | jao <jao@gnu.org> | 2021-02-28 05:30:51 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-02-28 05:30:51 +0000 |
commit | b9ddde313e5d40de076cc1b1eed33ab4e2003afe (patch) | |
tree | e848e5e5876f85929fbf3fcbc8029dbae5c5814f | |
parent | ea9a6c65d1ed1ab058960d22986303f82e1181f3 (diff) | |
download | elibs-b9ddde313e5d40de076cc1b1eed33ab4e2003afe.tar.gz elibs-b9ddde313e5d40de076cc1b1eed33ab4e2003afe.tar.bz2 |
i don't understand marginalia's custom vars
-rw-r--r-- | consult.org | 17 |
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 |