doom: disable jit and fix slowness and stale indexing
This commit is contained in:
@@ -82,5 +82,16 @@
|
|||||||
(map! :map undo-fu-mode-map "C-?" #'undo-fu-only-redo))
|
(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
|
;; line wrapping
|
||||||
(visual-line-mode t)
|
(visual-line-mode t)
|
||||||
|
|||||||
Reference in New Issue
Block a user