feat(cc): redo c++ configuration with clangd and modularity

This commit is contained in:
2026-03-23 16:42:07 +08:00
parent 7d0b244e22
commit b5bb42cca6
5 changed files with 88 additions and 7 deletions
-6
View File
@@ -37,14 +37,8 @@
corfu-annotate-max-width 50)
)
;; If using LSP, configure to show more details
(after! lsp-mode
(setq lsp-completion-show-detail t ; Show method signatures
lsp-completion-show-kind t ; Show completion item kind
lsp-completion-show-label-description t ; Show more details in label
))
(after! lsp-clangd
(setq lsp-clients-clangd-executable "clangd")
(setq lsp-clients--clangd-default-executable "clangd")
(setq lsp-clangd-binary-path "clangd"))