diff --git a/doom/.config/doom/config.el b/doom/.config/doom/config.el index 7edc845..dff53cf 100644 --- a/doom/.config/doom/config.el +++ b/doom/.config/doom/config.el @@ -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