about summary refs log tree commit diff
path: root/.emacs.d/early-init.el
blob: 8ba547e54d3304ddbce6cb1d1f2b1fcb2516f1cb (plain)
1
2
3
4
5
6
7
8
9
;; 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")