diff options
| author | benj <benj@rse8.com> | 2021-02-01 19:59:25 -0800 |
|---|---|---|
| committer | benj <benj@rse8.com> | 2021-02-01 19:59:25 -0800 |
| commit | fa0da6b5e5851708a90f322458dafaf02677e1eb (patch) | |
| tree | b361eb31aa1aabd5e20da3250b0be87a758a5fcf /settings/setup-lsp-mode.el | |
| parent | 9b147da64bedca04026c8225199f604fe2e583d7 (diff) | |
| download | emacs-fa0da6b5e5851708a90f322458dafaf02677e1eb.tar emacs-fa0da6b5e5851708a90f322458dafaf02677e1eb.tar.gz emacs-fa0da6b5e5851708a90f322458dafaf02677e1eb.tar.bz2 emacs-fa0da6b5e5851708a90f322458dafaf02677e1eb.tar.lz emacs-fa0da6b5e5851708a90f322458dafaf02677e1eb.tar.xz emacs-fa0da6b5e5851708a90f322458dafaf02677e1eb.tar.zst emacs-fa0da6b5e5851708a90f322458dafaf02677e1eb.zip | |
updating emacs broke stuff so I shoved it back into the hole...
Diffstat (limited to '')
| -rw-r--r-- | settings/setup-lsp-mode.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/settings/setup-lsp-mode.el b/settings/setup-lsp-mode.el index d6f1189..cef50ac 100644 --- a/settings/setup-lsp-mode.el +++ b/settings/setup-lsp-mode.el @@ -4,6 +4,10 @@ (setq cquery-executable "/usr/local/bin/cquery") +(setq gc-cons-threshold 100000000) +(setq read-process-output-max (* 1024 1024)) ;; 1mb +(setq lsp-completion-provider :capf) + (add-hook 'c-mode-hook #'lsp) (add-hook 'c++-mode-hook #'lsp) |
