diff --git a/emacs/.emacs.d/config/init-tree-sitter.el b/emacs/.emacs.d/config/init-tree-sitter.el index 4bf5e04..2ca5877 100644 --- a/emacs/.emacs.d/config/init-tree-sitter.el +++ b/emacs/.emacs.d/config/init-tree-sitter.el @@ -4,6 +4,7 @@ (use-package tree-sitter :hook (after-init . global-tree-sitter-mode) :config + (add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode) (defun tree-sitter-first-matching-child (node pred) "Returns the first child of `node' for which `pred' returns true." (cl-loop for i from 0 below (tsc-count-children node)