aboutsummaryrefslogtreecommitdiff
path: root/modules/selection-framework.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-13 12:17:58 -0500
committerCraig Jennings <c@cjennings.net>2026-06-13 12:17:58 -0500
commita2df36e8c6676353309d68f66d17c46130163e77 (patch)
treed3593734b9e2cd6d82b3374d40c43c1f1ead3c3c /modules/selection-framework.el
parenteb793eca294fdef76898fb491d179340c5c51ef5 (diff)
downloaddotemacs-a2df36e8c6676353309d68f66d17c46130163e77.tar.gz
dotemacs-a2df36e8c6676353309d68f66d17c46130163e77.zip
fix(completion): let orderless match, prescient sort
vertico-prescient-mode defaulted vertico-prescient-enable-filtering to t, which overrode completion-styles to prescient inside vertico sessions and left the orderless config dead where it mattered. Setting it nil restores orderless space-separated out-of-order matching while prescient keeps doing the sorting.
Diffstat (limited to 'modules/selection-framework.el')
-rw-r--r--modules/selection-framework.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/selection-framework.el b/modules/selection-framework.el
index 1f5d6dfc5..b136ad154 100644
--- a/modules/selection-framework.el
+++ b/modules/selection-framework.el
@@ -251,6 +251,11 @@
(use-package vertico-prescient
:demand t
+ :custom
+ ;; orderless does the matching; prescient only sorts. Without this,
+ ;; vertico-prescient-mode's default filtering overrides completion-styles to
+ ;; prescient inside vertico sessions, leaving the orderless config above dead.
+ (vertico-prescient-enable-filtering nil)
:config
(vertico-prescient-mode))