From 0495456fb904bf291a71ff87d59a5dda5d0c298d Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Fri, 14 Jan 2022 21:03:36 -0600 Subject: Ch ch ch changes --- init.el | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index 36c2bed..134b81a 100644 --- a/init.el +++ b/init.el @@ -920,7 +920,7 @@ (comint-mode-map . comint-mode-hook) (sly-mrepl-mode-map . sly-mrepl-hook))) (with-eval-after-load 'orderless - (:option consult--regexp-compiler 'consult--orderless-regexp-compiler)))) + (:option consult--regexp-compiler #'consult--orderless-regexp-compiler)))) (setup (:straight consult-dir) (:+key "C-x C-d" #'consult-dir) @@ -1278,7 +1278,16 @@ See also `crux-reopen-as-root-mode'." "C-e" #'mwim-end)) (setup (:straight orderless) - (:option completion-styles '(orderless))) + (:also-load +orderless) + (:option completion-styles '(substring orderless basic) + completion-category-defaults nil + completion-category-overrides + '((file (styles partial-completion)) + (command (styles +orderless-with-initialism)) + (variable (styles +orderless-with-initialism)) + (symbol (styles +orderless-with-initialism))) + orderless-component-separator #'orderless-escapable-split-on-space + orderless-style-dispatchers '(+orderless-dispatch))) (setup (:straight org-appear) (:option org-appear-autoemphasis t -- cgit 1.4.1-21-gabe81