aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2024-04-15 10:50:23 +0200
committerOscar Najera <hi@oscarnajera.com>2024-04-15 10:50:23 +0200
commiteaa932a7a6537bc5237a6017dc75f13d2ad3cef6 (patch)
tree9e0f3250d0cdf09021303ccd8b746e4051dae4d7 /config
parent5a24a1d3f94e6f78aa005f7e7d16f8c911fa61f0 (diff)
downloaddotfiles-eaa932a7a6537bc5237a6017dc75f13d2ad3cef6.tar.gz
dotfiles-eaa932a7a6537bc5237a6017dc75f13d2ad3cef6.tar.bz2
dotfiles-eaa932a7a6537bc5237a6017dc75f13d2ad3cef6.zip
lsp clangd
Diffstat (limited to 'config')
-rw-r--r--config/doom/config.org12
1 files changed, 12 insertions, 0 deletions
diff --git a/config/doom/config.org b/config/doom/config.org
index 5ca35ce..32ffa5a 100644
--- a/config/doom/config.org
+++ b/config/doom/config.org
@@ -623,6 +623,18 @@ Emacs mode for managing ledger text files
'((sbcl-large ("sbcl" "--dynamic-space-size" "2048"))
(sbcl ("sbcl")))))
#+end_src
+** C
+#+begin_src emacs-lisp
+(after! lsp-clangd
+ (setq lsp-clients-clangd-args
+ '("-j=3"
+ "--background-index"
+ "--clang-tidy"
+ "--completion-style=detailed"
+ "--header-insertion=never"
+ "--header-insertion-decorators=0"))
+ (set-lsp-priority! 'clangd 2))
+#+end_src
* Video Editing
#+begin_src emacs-lisp :tangle "packages.el"