From 45e5bf0d9e17af2e6b620999a421e750e3d2db1b Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Sat, 21 Mar 2026 15:40:36 -0400 Subject: [PATCH] doom: disable jit and fix slowness and stale indexing --- home-manager/progs/doom.d/config.el | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/home-manager/progs/doom.d/config.el b/home-manager/progs/doom.d/config.el index dc99994..c19b0b3 100644 --- a/home-manager/progs/doom.d/config.el +++ b/home-manager/progs/doom.d/config.el @@ -82,5 +82,16 @@ (map! :map undo-fu-mode-map "C-?" #'undo-fu-only-redo)) +;; Fix SPC p p slowness +(after! projectile + (setq projectile-indexing-method 'alien + projectile-enable-caching nil + projectile-project-search-path '("~/projects/")) + (projectile-discover-projects-in-search-path)) + +;; Packages are already natively compiled by Nix; JIT recompilation +;; just wastes cycles (and the eln-cache is invalidated on every rebuild anyway) +(setq native-comp-jit-compilation nil) + ;; line wrapping (visual-line-mode t)