diff options
Diffstat (limited to '.config/doom/config.el')
| -rw-r--r-- | .config/doom/config.el | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.config/doom/config.el b/.config/doom/config.el index b07089c..429677b 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -155,6 +155,19 @@ (map! "<f9>" #'langtool-check-buffer) (map! "M-<f9>" #'langtool-correct-buffer)) +;;; Programming languages. + +;; Flags to be passed to `clangd' for LSP integration. +(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)) + ;;; Organization ;; Setting this variable before org-mode loads. |
