diff options
author | jao <jao@gnu.org> | 2022-09-27 20:41:03 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-09-27 20:41:03 +0100 |
commit | 84a3ab7c85f2ed98bde9c58849c9402b0e1da54a (patch) | |
tree | 62f8f1a01861ceb9487699526cab4f7b54a45baa | |
parent | 19b2c24040c30dee2da30d2294404256e7187cbc (diff) | |
download | elibs-84a3ab7c85f2ed98bde9c58849c9402b0e1da54a.tar.gz elibs-84a3ab7c85f2ed98bde9c58849c9402b0e1da54a.tar.bz2 |
oops in latest vertico/orderless tweaks
-rw-r--r-- | custom/jao-custom-completion.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/custom/jao-custom-completion.el b/custom/jao-custom-completion.el index 573589d..14964a6 100644 --- a/custom/jao-custom-completion.el +++ b/custom/jao-custom-completion.el @@ -31,18 +31,18 @@ (use-package orderless :ensure t :demand t - :init + :config (orderless-define-completion-style orderless+initialism (orderless-matching-styles '(orderless-initialism orderless-prefixes orderless-literal orderless-regexp))) + (defvar jao-orderless-overrides + '((file (styles partial-completion orderless)) + (command (styles orderless+initialism)))) (setq orderless-matching-styles - '(orderless-literal orderless-regexp orderless-prefixes) - jao-orderless-overrides - '((file (styles partial-completion orderless)) - (command (styles orderless+initialism))))) + '(orderless-literal orderless-regexp orderless-prefixes))) ;;; marginalia (use-package marginalia |