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
commit2427916c7fb1b65b89b9a3200d067413c85f94e8 (patch)
treec5bbf55c4a35b80d01898e63b26b265debe57d85 /modules/selection-framework.el
parentcd9e1dd61e53c13e2a6f56633fbaa43853932ab8 (diff)
downloaddotemacs-2427916c7fb1b65b89b9a3200d067413c85f94e8.tar.gz
dotemacs-2427916c7fb1b65b89b9a3200d067413c85f94e8.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 1f5d6dfc..b136ad15 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))