all repos — nixfiles @ 0854bf9c83da801646753c34e5a1a34b4e369f6c

System and user configuration, managed by nix and home-manager

Emacs: enable background syntax highlighting
Alan Pearce alan@alanpearce.eu
Fri, 14 Jul 2023 18:20:49 +0200
commit

0854bf9c83da801646753c34e5a1a34b4e369f6c

parent

ec1179512fc8f65e5b2066450695a07f900fc22b

1 files changed, 4 insertions(+), 1 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -85,7 +85,10 @@ (load-theme current-theme :noconfirm))))))   (if (eq window-system 'x)
       (setq-default line-spacing 0.2)))
 
-(setq font-lock-maximum-decoration '((t . 1)))
+(setq font-lock-maximum-decoration '((t . 1))
+      jit-lock-stealth-time 1.25
+      jit-lock-stealth-nice 0.5
+      jit-lock-chunk-size 4096)
 
 (when (and (eq system-type 'darwin)
            (fboundp 'mac-mouse-wheel-mode))