From c2158c3cb0511071f04d6389fb4735c030ebb6e2 Mon Sep 17 00:00:00 2001 From: Muhammad Nauman Raza Date: Wed, 16 Nov 2022 17:07:28 +0000 Subject: [PATCH] feat: orderless completion mechanism --- lisp/interface.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lisp/interface.el b/lisp/interface.el index 16be1d5..2e26ace 100644 --- a/lisp/interface.el +++ b/lisp/interface.el @@ -23,6 +23,13 @@ (set-face-foreground face (face-attribute 'default :background))) (set-face-background 'fringe (face-attribute 'default :background)) +;; Use the `orderless' completion mechanism +(use-package orderless + :init + (setq completion-styles '(orderless basic) + completion-category-defaults nil + completion-category-overrides '((file (styles basic partial-completion))))) + ;; magit - A beautiful git porcelain for Emacs (use-package magit)