aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/lisp/init-c.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-c.el b/.emacs.d/lisp/init-c.el
index 020ca56..35a713e 100644
--- a/.emacs.d/lisp/init-c.el
+++ b/.emacs.d/lisp/init-c.el
@@ -1,2 +1,4 @@
-;; TODO
+(when (gx/maybe-require-package 'eglot)
+ (add-hook 'c-mode-hook #'eglot-ensure))
+
(provide 'init-c)