use clangd

main
earnest ma 2024-01-09 07:49:37 -05:00
parent 1cb603c657
commit 72f05d140f
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
1 changed files with 7 additions and 3 deletions

View File

@ -46,9 +46,13 @@
;; doesn't show in childframe, but might be useful in terminal
company-show-quick-access 1))
(after! ccls
(setq ccls-initialization-options '(:index (:comments 2) :completion (:detailedLabel t)))
(set-lsp-priority! 'ccls 2)) ; optional as ccls is the default in Doom
(setq lsp-clients-clangd-args '("-j=3"
"--background-index"
"--clang-tidy"
"--completion-style=detailed"
"--header-insertion=never"
"--header-insertion-decorators=0"))
(after! lsp-clangd (set-lsp-priority! 'clangd 2))
;; pinentry for emacs ssh gpg
(use-package! pinentry