doom: disable jit and fix slowness and stale indexing

This commit is contained in:
2026-03-21 15:40:36 -04:00
parent 9e741072e8
commit 45e5bf0d9e

View File

@@ -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)