Switch from corfu to company.

It seems corfu is causing problems with eglot: https://github.com/joaotavora/eglot/discussions/1127.
This commit is contained in:
Tom Alexander
2023-10-12 00:50:46 -04:00
parent 8975324e7c
commit 68139849f6
3 changed files with 25 additions and 10 deletions

View File

@@ -33,4 +33,14 @@
:commands (consult-eglot-symbols)
)
(use-package company
:after eglot
:hook (eglot-managed-mode . company-mode)
:config
(setq company-backends '((company-capf)))
)
;; (use-package company-box
;; :hook (company-mode . company-box-mode))
(provide 'common-lsp)

View File

@@ -46,11 +46,11 @@
)
)
(use-package corfu
:commands (corfu-mode global-corfu-mode)
:custom
(corfu-auto t)
)
;; (use-package corfu
;; :commands (corfu-mode global-corfu-mode)
;; :custom
;; (corfu-auto t)
;; )
(use-package marginalia
:config (marginalia-mode))