From dee78963d50f24e7b9c0a5a1958d4f1b4d3c4c4c Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 23 Mar 2021 20:47:31 +0000 Subject: (Emacs)~eglot C/C++ lsp server ccls->clangd clangd comes inbuilt with clang-lib so it should be on your system already, it's much faster and cleaner than ccls currently and takes less memory. --- Emacs/.config/emacs/config.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Emacs/.config/emacs') diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index d145814..efd4972 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -1661,7 +1661,9 @@ results to the client, done through JSON. "r" #'eglot-rename "R" #'eglot-reconnect) :init - (setq eglot-stay-out-of '(flymake))) + (setq eglot-stay-out-of '(flymake)) + :config + (add-to-list 'eglot-server-programs '((c++-mode c-mode) "clangd"))) #+end_src *** Flycheck Flycheck is the checking system for Emacs. I don't necessarily like -- cgit v1.2.3-13-gbd6f