c/c++ enable eglot

This commit is contained in:
zedhugh committed 2022-11-25 00:52:22 +08:00
1 parent 051710a74c
commit 860395da33
1 file changed
+1 -1
+1 -1
View File
@@ -21,7 +21,7 @@
(unless (derived-mode-p 'js-json-mode 'json-mode)
(eglot-ensure))))
(dolist (hook '(css-mode-hook typescript-mode-hook))
(dolist (hook '(css-mode-hook typescript-mode-hook c-mode-hook c++-mode-hook))
(add-hook hook #'eglot-ensure))