summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2023-07-14 18:20:49 +0200
committerAlan Pearce2023-07-14 18:20:49 +0200
commit0854bf9c83da801646753c34e5a1a34b4e369f6c (patch)
treee523f0bc053235395996161a6f13c33dbf3bb5c1 /user
parentec1179512fc8f65e5b2066450695a07f900fc22b (diff)
downloadnixfiles-0854bf9c83da801646753c34e5a1a34b4e369f6c.tar.lz
nixfiles-0854bf9c83da801646753c34e5a1a34b4e369f6c.tar.zst
nixfiles-0854bf9c83da801646753c34e5a1a34b4e369f6c.zip
Emacs: enable background syntax highlighting
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 05e7e295..bf895179 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -85,7 +85,10 @@
   (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))