mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Load gcmh-mode a little sooner
Ensures it is loaded in time when files are loaded directly from the terminal.
This commit is contained in:
@ -41,8 +41,6 @@ killing and opening many LSP/eglot-powered buffers.")
|
||||
;; GC strategy, so we modify its variables rather than
|
||||
;; `gc-cons-threshold' directly.
|
||||
(setq-default gcmh-high-cons-threshold (* 2 +lsp--default-gcmh-high-cons-threshold))
|
||||
(unless (bound-and-true-p gcmh-mode)
|
||||
(gcmh-mode +1))
|
||||
(gcmh-set-high-threshold)
|
||||
(setq +lsp--optimization-init-p t))))
|
||||
|
||||
|
Reference in New Issue
Block a user