From: Frederik Vanrenterghem Date: Wed, 16 Oct 2024 12:38:42 +0000 (+0800) Subject: Support global company-mode. X-Git-Url: http://git.vanrenterghem.biz/Dotty.git/commitdiff_plain/6414ad5dd394ca000714a297dea55696c7116bbe?hp=a787db895b973c4bce80d5b381865df994348fd6 Support global company-mode. --- diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 447eb83..bc2dd2b 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -56,6 +56,8 @@ vc-follow-symlinks t ;; enable autocomplete (use-package company :ensure t + :demand t ;; Needed to ensure global company-mode works. + :commands company-mode :bind(:map company-active-map ("" . nil) ("RET" . nil)