Tree-sitter Minor Mode

tree-sitter-mode is a minor mode that provides a buffer-local up-to-date syntax tree.

TODO: Write this.

Hook: tree-sitter-after-on-hook
Hook: tree-sitter-after-first-parse-hook
Hook: tree-sitter-after-change-functions
Variable: tree-sitter-major-mode-language-alist
Variable: tree-sitter-language
Variable: tree-sitter-tree
Function: tree-sitter-node-at-pos [node-type] [pos]

Writing a Dependent Minor Mode

See the docstring of tree-sitter--handle-dependent.