fix(selectrum): Apply changes from minad's review
selectrum-fix-minibuffer-height has been deprecated. The selectrum-refine-candidates-function should not be set. Only selectrum-highlight-candidates-function is necessary in order to get highlighting, when orderless-skip-highlighting is set. Co-authored-by: minad <mail+gh@daniel-mendler.de>
This commit is contained in:
parent
dfce5ddb17
commit
74b100cd54
1 changed files with 2 additions and 4 deletions
|
@ -5,8 +5,7 @@
|
|||
:init
|
||||
(setq selectrum-display-action nil
|
||||
selectrum-num-candidates-displayed 15
|
||||
selectrum-extend-current-candidate-highlight t
|
||||
selectrum-fix-minibuffer-height t)
|
||||
selectrum-extend-current-candidate-highlight t)
|
||||
(unless (featurep! +orderless)
|
||||
(setq completion-styles '(substring partial-completion)))
|
||||
:config
|
||||
|
@ -35,8 +34,7 @@
|
|||
:config
|
||||
(setq completion-styles '(orderless))
|
||||
(setq orderless-skip-highlighting (lambda () selectrum-active-p))
|
||||
(setq selectrum-highlight-candidates-function #'orderless-highlight-matches
|
||||
selectrum-refine-candidates-function #'orderless-filter))
|
||||
(setq selectrum-highlight-candidates-function #'orderless-highlight-matches))
|
||||
|
||||
(use-package! consult
|
||||
:defer t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue