diff options
author | Timo Wilken | 2024-03-09 13:50:38 +0100 |
---|---|---|
committer | Timo Wilken | 2024-03-09 13:50:40 +0100 |
commit | 3c98c5829e7f9e8cd47ce7e0a2e103428a530bd6 (patch) | |
tree | 76d3a9aec61f3f34995bc1b7e46dfcd1d32ea0fd /tw/home/files | |
parent | 880203936ba3e0474b69ac785de6a258ac811088 (diff) |
Replace corfu with company
Corfu was throwing weird errors on completion sometimes. It also doesn't play
well with evil-mode, often breaking the "escape" key.
Diffstat (limited to 'tw/home/files')
-rw-r--r-- | tw/home/files/emacs-init.el | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tw/home/files/emacs-init.el b/tw/home/files/emacs-init.el index ad0a7630..5bdce3dc 100644 --- a/tw/home/files/emacs-init.el +++ b/tw/home/files/emacs-init.el @@ -278,16 +278,16 @@ If CREATE is true and the resulting directory does not exist, create it." (kbd "<localleader>k") #'log-edit-kill-buffer (kbd "<localleader>w") #'log-edit-generate-changelog-from-diff)) -(use-package corfu ; https://github.com/minad/corfu - :hook (prog-mode ledger-mode shell-mode eshell-mode) - :custom - (corfu-auto t "Show completion popup after a few seconds automatically.") - :diminish corfu-mode) +(use-package company + :config (global-company-mode +1)) + +(use-package company-quickhelp + :after (company) + :config (company-quickhelp-mode +1)) -(use-package corfu-doc - :after (corfu) - :hook (corfu-mode) - :diminish corfu-doc-mode) +(use-package company-posframe + :after (company) + :config (company-posframe-mode +1)) (use-package flyspell :hook mail-mode) |