(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.
This commit is contained in:
2021-03-23 20:47:31 +00:00
parent dabe7c2310
commit dee78963d5

View File

@@ -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