help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hooks on treesit parse refresh


From: Abin Simon
Subject: Hooks on treesit parse refresh
Date: Fri, 24 Feb 2023 10:44:33 +0530

I was adding support for builtin treesit to one of my packages,
scopeline.  https://github.com/meain/scopeline.el

The package makes use of these hooks in elisp-tree-sitter to run when a
tree-sitter tree refresh has happened:
- tree-sitter-after-first-parse-hook
- tree-sitter-after-change-functions

I was going through treesit code, but could not find anything
similar. `treesit-explore' seem to add a hook to `post-command-hook' but
wanted to check if there was something more specific that I could use
instead.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]