diff options
Diffstat (limited to '.config/emacs')
-rw-r--r-- | .config/emacs/init.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el index f3bab0b..452328d 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -340,7 +340,9 @@ list is flipped or not." :bind (:map company-active-map ("C-j" . #'x-company-next-candidate) ("C-k" . #'x-company-previous-candidate)) - :hook ((conf-mode prog-mode) . company-mode) + :init + (with-eval-after-load 'eglot + (add-hook 'eglot-managed-mode-hook #'company-mode)) :custom (company-minimum-prefix-length 1) (company-idle-delay (lambda () (unless (company-in-string-or-comment) 0))) |