From a6543a0ba0e5399515e3dbe507a8bd12958839cc Mon Sep 17 00:00:00 2001 From: venomade Date: Fri, 6 Mar 2026 00:09:04 +0000 Subject: Nix Emacs Add Emacs Darwin to the pkgs Other neovim and tangential things --- config/emacs/early-init.el | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 config/emacs/early-init.el (limited to 'config/emacs/early-init.el') diff --git a/config/emacs/early-init.el b/config/emacs/early-init.el new file mode 100644 index 0000000..8ba547e --- /dev/null +++ b/config/emacs/early-init.el @@ -0,0 +1,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") -- cgit 1.4.1-2-gfad0