summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2023-04-25 23:13:14 +0200
committerAlan Pearce2023-04-25 23:14:09 +0200
commitbb6af82ad321d03353c266f1f4ae069ee669353d (patch)
tree8e27c907c5ee745380934eddb6a9314f86849fbb /user
parentc2c5e04d53ba91e22cf43ac42a54fb0606fb9465 (diff)
downloadnixfiles-bb6af82ad321d03353c266f1f4ae069ee669353d.tar.lz
nixfiles-bb6af82ad321d03353c266f1f4ae069ee669353d.tar.zst
nixfiles-bb6af82ad321d03353c266f1f4ae069ee669353d.zip
emacs: fix tree-sitter-hl-mode setup
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 899596d1..758061bb 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -1045,7 +1045,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
             typescript-mode-hook
             python-mode-hook
             rustic-mode-hook))
-  :ghook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode)
+  :ghook ('tree-sitter-mode-hook #'tree-sitter-hl-mode))
 (use-package tree-sitter-langs
   :after tree-sitter)