string format; and @code{treesit-pattern-expand} converts a pattern.
@findex treesit-query-first-valid
-Tree-sitter grammars change overtime. To support multiple possible
+Tree-sitter grammars change overtime. To support multiple possible
versions of a grammar, a Lisp program can use
@code{treesit-query-first-valid} to pick the right query to use. For
example, if a grammar has a @code{(defun)} node in one version, and
to support both versions of the grammar.
For more details, consider reading the tree-sitter project's
-documentation about pattern-matching. The documentation can be found at
+documentation about pattern-matching. The documentation can be found at
@uref{https://tree-sitter.github.io/tree-sitter/using-parsers#pattern-matching-with-queries}.
@node User-defined Things