From b3a04a3a79e7ece62e3dbb87ab5b1ae0fea10e69 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 20 Sep 2024 23:37:19 +0200 Subject: emacs: Switch from company back to corfu --- .config/emacs/init.el | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to '.config/emacs/init.el') diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 3ac191b..bc5a614 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -267,16 +267,15 @@ tabs, regardless of the value of ‘indent-tabs-mode’." ;;; Completions ;; Disable corfu for now (it’s causing Emacs to crash) -(x-comment - (use-package corfu - :hook ((prog-mode . corfu-mode)) - :custom - (corfu-auto t) - (corfu-cycle t) - (corfu-auto-prefix 1) - (corfu-auto-delay 0))) - -(use-package company +(use-package corfu + :hook ((prog-mode . corfu-mode)) + :custom + (corfu-auto t) + (corfu-cycle t) + (corfu-auto-prefix 1) + (corfu-auto-delay 0)) + +(x-comment (use-package company :init (with-eval-after-load 'eglot (add-hook 'eglot-managed-mode-hook #'company-mode)) @@ -295,7 +294,7 @@ begin with ‘company-prefix’." company-preview-frontend company-echo-metadata-frontend)) (company-transformers '(x-company-require-prefix - company-sort-by-backend-importance))) + company-sort-by-backend-importance)))) ;;; Increment- and Decrement Numbers (defun x-increment-number-at-point (&optional arg) -- cgit v1.2.3