diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-11-30 16:14:35 +0000 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-11-30 16:14:35 +0000 |
commit | b531403fee00c50a6db8ae341cfa85e0354cbdb4 (patch) | |
tree | 81e462c972a71c8e421e020501f052df2a2d4ae5 | |
parent | 5b7ad8fe327f1b5dd9ba19ca11a41d796a07553d (diff) | |
download | dotfiles-b531403fee00c50a6db8ae341cfa85e0354cbdb4.tar.gz |
Use strict (non-leading) initialism by default
-rw-r--r-- | .emacs.d/lisp/init-completion.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.emacs.d/lisp/init-completion.el b/.emacs.d/lisp/init-completion.el index c231841..9ce7682 100644 --- a/.emacs.d/lisp/init-completion.el +++ b/.emacs.d/lisp/init-completion.el @@ -59,7 +59,7 @@ (completion-styles '(orderless partial-completion basic)) (completion-category-defaults nil) (completion-category-overrides '((file (styles . (partial-completion orderless))))) - (orderless-matching-styles '(orderless-literal orderless-regexp orderless-strict-leading-initialism)) + (orderless-matching-styles '(orderless-literal orderless-regexp orderless-strict-initialism)) (orderless-style-dispatchers '(+orderless-dispatch)) :config (defun my/orderless-match-components-literally () @@ -89,7 +89,7 @@ no words in between, beginning with the first word." (defvar +orderless-dispatch-alist '((?% . char-fold-to-regexp) (?! . orderless-without-literal) - (?` . orderless-strict-initialism) + (?` . orderless-strict-leading-initialism) (?= . orderless-literal) (?_ . orderless-prefix) (?~ . orderless-flex))) @@ -106,7 +106,7 @@ no words in between, beginning with the first word." ;; * =literal literal= ;; * _prefix prefix_ ;; * %char-fold char-fold% - ;; * `strict-initialism strict-initialism` + ;; * `strict-leading-initialism strict-leading-initialism` ;; * !without-literal without-literal! ;; * .ext (file extension) ;; * regexp$ (regexp matching at end) |