Configure clangd lsp

This commit is contained in:
Wojciech Kozlowski 2022-08-14 01:10:51 +02:00
parent 742ace250d
commit c6ca153f13

View File

@ -221,6 +221,17 @@
;; Additional coniguration for doom modules.
;; -----------------------------------------------------------------------------
;; Clangd LSP configuration.
(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))
;; Podman > docker.
(after! docker (setq docker-command "podman"))
(after! dockerfile-mode (setq dockerfile-mode-command "podman"))