home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 5ffc62dbb294933c9dd0de4832f566f8b95df64a
parent fb6bbaef4960c1d96925870bbc6cc4a77ec546b5
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Fri,  9 Sep 2022 12:01:20 +0200

tools/emacs: disable company-mode

Completion should only be done using corfu or nothing.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/config-mails.el | 5+----
Mtools/emacs/config/config-vcs.el | 5+----
Mtools/emacs/config/programming-elisp.el | 5-----
Mtools/emacs/config/programming-web.el | 5-----
4 files changed, 2 insertions(+), 18 deletions(-)

diff --git a/tools/emacs/config/config-mails.el b/tools/emacs/config/config-mails.el @@ -49,10 +49,7 @@ (defun my-message-hook () "Message mode hook." - (turn-on-auto-fill) - (set (make-local-variable 'company-backends) - '(company-emoji company-capf company-files company-dabbrev)) - (company-mode 1))) + (turn-on-auto-fill))) (if *sys/full* (progn diff --git a/tools/emacs/config/config-vcs.el b/tools/emacs/config/config-vcs.el @@ -124,10 +124,7 @@ :hook (git-commit-mode . vde/git-commit-mode-hook) :config (defun vde/git-commit-mode-hook () - "git-commit mode hook" - (set (make-local-variable 'company-backends) - '(company-emoji company-capf company-files company-dabbrev)) - (company-mode 1)) + "git-commit mode hook") (setq-default git-commit-summary-max-length 50 git-commit-known-pseudo-headers '("Signed-off-by" diff --git a/tools/emacs/config/programming-elisp.el b/tools/emacs/config/programming-elisp.el @@ -3,10 +3,5 @@ ;;; Emacs Lisp configurations ;;; Code: -(use-package company-elisp - :after company - :config - (push 'company-elisp company-backends)) - (provide 'programming-elisp) ;;; programming-elisp.el ends here diff --git a/tools/emacs/config/programming-web.el b/tools/emacs/config/programming-web.el @@ -37,10 +37,5 @@ (sp-local-tag "=" "<%= " " %>") (sp-local-tag "#" "<%# " " %>"))))) -(use-package company-css - :after (company css-mode) - :config - (push 'company-css company-backends)) - (provide 'programming-web) ;;; programming-web.el ends here