diff options
author | Yuchen Pei <id@ypei.org> | 2023-06-24 12:17:03 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2023-06-24 12:17:03 +1000 |
commit | 9cc73b30c269cbfa35feed46ee8805ee5a4d2ef0 (patch) | |
tree | 3405bb707714894e0daea447e12c76e17305d5cd | |
parent | 251c8c4d50e52405f33cfbb5a3f509376052038b (diff) |
company works better with bbdb in message mode
-rw-r--r-- | emacs/.emacs.d/init/ycp-complete.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/emacs/.emacs.d/init/ycp-complete.el b/emacs/.emacs.d/init/ycp-complete.el index 57e5667..a27e980 100644 --- a/emacs/.emacs.d/init/ycp-complete.el +++ b/emacs/.emacs.d/init/ycp-complete.el @@ -156,11 +156,12 @@ (setq corfu-exclude-modes '(gud-mode)) ) -;;; We still need company mode because corfu does not work well in gud -;;; mode yet +;;; We still need company mode because corfu does not work well in +;;; certain modes yet (my-package company (:install t) - (:delay 5)) + (:delay 5) + (add-hook 'message-mode-hook #'company-mode)) ;;; cape (my-package cape |