about summary refs log tree commit diff stats
path: root/.emacs.d
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-02-28 11:41:26 +0000
committerDavid Morgan <djm_uk@protonmail.com>2022-02-28 11:41:26 +0000
commit5fe23e4121645c7fdd269c24033e7d5806bd8b65 (patch)
tree04c9fa591b20c5ae6ca2733787e7367d7154a584 /.emacs.d
parentf38d3402a468ffa331f1774f4b9d2615b057624c (diff)
downloaddotfiles-5fe23e4121645c7fdd269c24033e7d5806bd8b65.tar.gz
Temporary orderless-matching-styles change (https://github.com/oantolin/orderless/pull/94)
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/lisp/init-completion.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-completion.el b/.emacs.d/lisp/init-completion.el
index 415ba66..2b6f1f8 100644
--- a/.emacs.d/lisp/init-completion.el
+++ b/.emacs.d/lisp/init-completion.el
@@ -83,7 +83,9 @@
      ;; Flex matching
      ((string-prefix-p "~" pattern) `(orderless-flex . ,(substring pattern 1)))
      ((string-suffix-p "~" pattern) `(orderless-flex . ,(substring pattern 0 -1)))))
-  (setq orderless-matching-styles '(orderless-literal orderless-regexp orderless-strict-leading-initialism)
+  ;; (setq orderless-matching-styles '(orderless-literal orderless-regexp orderless-strict-leading-initialism)
+  ;;       orderless-style-dispatchers '(my/orderless-dispatch))
+  (setq orderless-matching-styles '(orderless-literal orderless-regexp orderless-initialism)
         orderless-style-dispatchers '(my/orderless-dispatch)))
 
 ;; code completion - corfu