From 7bdd7099177713055f3985083b76579ea5a3202c Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Fri, 14 Oct 2022 19:39:52 -0400 Subject: fix config --- emacs/.config/emacs-kj/init.el | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'emacs/.config') diff --git a/emacs/.config/emacs-kj/init.el b/emacs/.config/emacs-kj/init.el index a473135..97bc421 100644 --- a/emacs/.config/emacs-kj/init.el +++ b/emacs/.config/emacs-kj/init.el @@ -294,15 +294,10 @@ ) (use-package orderless - :ensure t - :custom - (completion-styles '(orderless)) - (completion-category-overrides '((file (styles basic partial-completion)))) - - ;; Optional performance optimization - ;; by highlighting only the visible candidates. - (setq orderless-skip-highlighting (lambda () selectrum-is-active)) - (setq selectrum-highlight-candidates-function #'orderless-highlight-matches)) + :init + (setq completion-styles '(orderless basic) + completion-category-defaults nil + completion-category-overrides '((file (styles partial-completion))))) (use-package which-key :init -- cgit v1.2.3