aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-04-22 21:31:37 +0800
committerGuangxiong Lin <[email protected]>2022-04-22 21:31:37 +0800
commit126ab99453e16ad971b2db1a05c13725c15544d5 (patch)
tree977a46d45d2d63163ae30a9e3337e9aaaa762dbc
parent65249dfa0e3ce69d72772a1ede697d3e46a16fcb (diff)
downloaddotfiles-126ab99453e16ad971b2db1a05c13725c15544d5.tar.gz
dotfiles-126ab99453e16ad971b2db1a05c13725c15544d5.tar.bz2
dotfiles-126ab99453e16ad971b2db1a05c13725c15544d5.zip
Use eglot for not only c
-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)