diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2021-03-23 20:47:31 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2021-03-23 20:47:31 +0000 |
commit | dee78963d50f24e7b9c0a5a1958d4f1b4d3c4c4c (patch) | |
tree | 2a298e6b7ee69797277c8db0f4d355cc714720cc /Emacs/.config | |
parent | dabe7c23107e68dfe1054de458ec5ba3002b1638 (diff) | |
download | dotfiles-dee78963d50f24e7b9c0a5a1958d4f1b4d3c4c4c.tar.gz dotfiles-dee78963d50f24e7b9c0a5a1958d4f1b4d3c4c4c.tar.bz2 dotfiles-dee78963d50f24e7b9c0a5a1958d4f1b4d3c4c4c.zip |
(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.
Diffstat (limited to 'Emacs/.config')
-rw-r--r-- | Emacs/.config/emacs/config.org | 4 |
1 files changed, 3 insertions, 1 deletions
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 |