Configure clangd lsp
This commit is contained in:
parent
742ace250d
commit
c6ca153f13
11
config.el
11
config.el
@ -221,6 +221,17 @@
|
|||||||
;; Additional coniguration for doom modules.
|
;; 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.
|
;; Podman > docker.
|
||||||
(after! docker (setq docker-command "podman"))
|
(after! docker (setq docker-command "podman"))
|
||||||
(after! dockerfile-mode (setq dockerfile-mode-command "podman"))
|
(after! dockerfile-mode (setq dockerfile-mode-command "podman"))
|
||||||
|
Loading…
Reference in New Issue
Block a user