aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-c.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp/init-c.el')
-rw-r--r--.emacs.d/lisp/init-c.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-c.el b/.emacs.d/lisp/init-c.el
index 35a713e..6008340 100644
--- a/.emacs.d/lisp/init-c.el
+++ b/.emacs.d/lisp/init-c.el
@@ -1,4 +1,4 @@
(when (gx/maybe-require-package 'eglot)
- (add-hook 'c-mode-hook #'eglot-ensure))
+ (add-hook 'c-mode-common-hook #'eglot-ensure))
(provide 'init-c)