feat: orderless completion mechanism

This commit is contained in:
Muhammad Nauman Raza 2022-11-16 17:07:28 +00:00
parent b7991a9671
commit c2158c3cb0
No known key found for this signature in database
GPG key ID: A9A36C429C9CAE31

View file

@ -23,6 +23,13 @@
(set-face-foreground face (face-attribute 'default :background))) (set-face-foreground face (face-attribute 'default :background)))
(set-face-background 'fringe (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 ;; magit - A beautiful git porcelain for Emacs
(use-package magit) (use-package magit)