aboutsummaryrefslogtreecommitdiff
path: root/modules
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
commitdac477839dcac84b7217230e6a94a007cea966ab (patch)
treed152711373b334f374046c4da960f4e779a20b44 /modules
parent94b3f47c7d6db3004c9e2b533138e6d304c16997 (diff)
downloaddotemacs-dac477839dcac84b7217230e6a94a007cea966ab.tar.gz
dotemacs-dac477839dcac84b7217230e6a94a007cea966ab.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')
-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))