diff options
author | Guangxiong Lin <[email protected]> | 2022-04-22 21:05:55 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-04-22 21:05:55 +0800 |
commit | 19de27dab19a8493d8a9c1654bd229362b1ebd88 (patch) | |
tree | 56c29d34dbdcb790cb46a49bed0a2ab76e15b3fd /.emacs.d/lisp | |
parent | b26c3e86b3ca6de3b2fd937327687659aaec042f (diff) | |
download | dotfiles-19de27dab19a8493d8a9c1654bd229362b1ebd88.tar.gz dotfiles-19de27dab19a8493d8a9c1654bd229362b1ebd88.tar.bz2 dotfiles-19de27dab19a8493d8a9c1654bd229362b1ebd88.zip |
Use eglot in c
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r-- | .emacs.d/lisp/init-c.el | 4 |
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) |