all repos — nixfiles @ bb6af82ad321d03353c266f1f4ae069ee669353d

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

emacs: fix tree-sitter-hl-mode setup
Alan Pearce alan@alanpearce.eu
Tue, 25 Apr 2023 23:13:14 +0200
commit

bb6af82ad321d03353c266f1f4ae069ee669353d

parent

c2c5e04d53ba91e22cf43ac42a54fb0606fb9465

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

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -1045,7 +1045,7 @@ json-mode-hook             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)