diff options
Diffstat (limited to 'custom')
-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 |