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 ;; doesn't show in childframe, but might be useful in terminal
company-show-quick-access 1)) company-show-quick-access 1))
(after! ccls (setq lsp-clients-clangd-args '("-j=3"
(setq ccls-initialization-options '(:index (:comments 2) :completion (:detailedLabel t))) "--background-index"
(set-lsp-priority! 'ccls 2)) ; optional as ccls is the default in Doom "--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 ;; pinentry for emacs ssh gpg
(use-package! pinentry (use-package! pinentry