From eaa932a7a6537bc5237a6017dc75f13d2ad3cef6 Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Mon, 15 Apr 2024 10:50:23 +0200 Subject: lsp clangd --- config/doom/config.org | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'config') 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" -- cgit v1.2.3