From d0242419a132d5a71a5e2090e5962aa032645c3d Mon Sep 17 00:00:00 2001 From: Lucas Sta Maria Date: Wed, 9 Aug 2023 20:59:39 -0700 Subject: [PATCH] fix: add orderless configuration Signed-off-by: Lucas Sta Maria --- .emacs.d/include/misc.el | 4 ++++ .emacs.d/init.el | 1 + 2 files changed, 5 insertions(+) diff --git a/.emacs.d/include/misc.el b/.emacs.d/include/misc.el index b84a33a..9808567 100644 --- a/.emacs.d/include/misc.el +++ b/.emacs.d/include/misc.el @@ -85,5 +85,9 @@ (global-set-key (kbd "C-c t") #'neotree-toggle-current-directory) (setq neo-theme 'icon) +;; Orderless +(setq completion-styles '(orderless basic)) +(setq completion-category-overrides '((file (styles basic partial-completion)))) + (provide 'misc) ;;; misc.el ends here diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 447a17f..b756a95 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -21,6 +21,7 @@ (straight-use-package 'company-math) (straight-use-package 'vertico) (straight-use-package 'marginalia) +(straight-use-package 'orderless) ;; Syntax checking and editing (straight-use-package 'flycheck)