aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/config.org
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2021-03-23 20:47:31 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2021-03-23 20:47:31 +0000
commitdee78963d50f24e7b9c0a5a1958d4f1b4d3c4c4c (patch)
tree2a298e6b7ee69797277c8db0f4d355cc714720cc /Emacs/.config/emacs/config.org
parentdabe7c23107e68dfe1054de458ec5ba3002b1638 (diff)
downloaddotfiles-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/emacs/config.org')
-rw-r--r--Emacs/.config/emacs/config.org4
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