diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-09-20 23:37:19 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-09-20 23:37:19 +0200 |
commit | b3a04a3a79e7ece62e3dbb87ab5b1ae0fea10e69 (patch) | |
tree | ccdf526476db00c4808e85b7291c6e2c0de42472 | |
parent | 846370d862fa2342f16356d3af6ae330afe8e56c (diff) |
emacs: Switch from company back to corfu
-rw-r--r-- | .config/emacs/init.el | 21 |
1 files changed, 10 insertions, 11 deletions
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) |