tools/lsp: apply after changing gcmh-high-cons-threshold

This commit is contained in:
Henrik Lissner 2020-10-08 23:43:12 -04:00
parent 86cd497bb5
commit 0062c03ede
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -24,7 +24,8 @@ killing and opening many LSP/eglot-powered buffers.")
;; GC-induced slowdowns/freezes. Doom uses `gcmh' to enforce its GC
;; strategy, so we modify its variables rather than
;; `gc-cons-threshold' directly.
(setq-local gcmh-high-cons-threshold (* 2 (default-value 'gcmh-high-cons-threshold)))))
(setq-local gcmh-high-cons-threshold (* 2 (default-value 'gcmh-high-cons-threshold)))
(gcmh-set-high-threshold)))
;;