diff options
| author | Thomas Schneider <qsx@chaotikum.eu> | 2026-07-27 19:49:05 +0200 |
|---|---|---|
| committer | Thomas Schneider <qsx@chaotikum.eu> | 2026-07-27 20:02:55 +0200 |
| commit | 6ed999daf3c841dda2e306bf55846ba135be5b7d (patch) | |
| tree | ab08e6a102053ecc81ab1b8dfd07b426aef02cf2 | |
| parent | 6831ec9b1be90ebd192dc6e17c01af2d913d877c (diff) | |
Emacs: lsp-mode: Prevent clangd from inserting headers
| -rw-r--r-- | dot.emacs.d/init.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dot.emacs.d/init.el b/dot.emacs.d/init.el index 3203387..8663a56 100644 --- a/dot.emacs.d/init.el +++ b/dot.emacs.d/init.el @@ -183,7 +183,8 @@ ;; https://emacs-lsp.github.io/lsp-mode/page/performance/ :init (setq read-process-output-max (* 1024 1024) ;; 1 MiB - gc-cons-threshold 6400000)) + gc-cons-threshold 6400000 + lsp-clients-clangd-args '("--header-insertion=never"))) (use-package lsp-ui :commands lsp-ui-mode) (use-package helm-lsp |
