diff options
Diffstat (limited to '.emacs.d/early-init.el')
| -rw-r--r-- | .emacs.d/early-init.el | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/.emacs.d/early-init.el b/.emacs.d/early-init.el index b80a729..8ba547e 100644 --- a/.emacs.d/early-init.el +++ b/.emacs.d/early-init.el @@ -1,4 +1,9 @@ -(setq gc-cons-threshold 100000000) -(setq read-process-output-max (* 1024 1024)) +;; GC Perfomance Tweaks from DOOM Emacs +(setq gc-cons-threshold most-positive-fixnum + gc-cons-percentage 1.0) +(add-hook 'emacs-startup-hook + (lambda () + (setq gc-cons-threshold (* 128 1024 1024) ;; 128MB + gc-cons-percentage 1.0))) + (setenv "LSP_USE_PLISTS" "true") -(setq-default lsp-use-plists t) |
