emacs.d/config/eglot.el
2021-02-07 17:58:53 +01:00

9 lines
216 B
EmacsLisp

(use-package project
:demand 't)
(use-package eglot
:after project
:config
(add-hook 'c-mode-common-hook 'eglot-ensure)
;; shadow default ccls
(push '((c-mode c++-mode) "clangd") eglot-server-programs))