From: Yuan Fu Date: Tue, 14 Jun 2022 21:16:11 +0000 (-0700) Subject: ; * doc/lispref/parsing.texi: Minor fix-up. X-Git-Tag: emacs-29.0.90~1914 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=016e4ca7a74b47979d6180672b13d02e2269baed;p=emacs.git ; * doc/lispref/parsing.texi: Minor fix-up. --- diff --git a/doc/lispref/parsing.texi b/doc/lispref/parsing.texi index 72be91877b6..c6909da0028 100644 --- a/doc/lispref/parsing.texi +++ b/doc/lispref/parsing.texi @@ -93,7 +93,7 @@ to @var{treesit-load-name-override-list}, where @var{library-base-name} is the base filename for the dynamic library (conventionally @code{libtree-sitter-@var{language}}), and @var{function-name} is the function provided by the library -(conventionally @code{tree_sitter_@var{language}). For example, +(conventionally @code{tree_sitter_@var{language}}). For example, @example (cool-lang "libtree-sitter-coool" "tree_sitter_cooool") @@ -763,7 +763,7 @@ more advanced pattern syntax. @cindex Tree-sitter query syntax @cindex Tree-sitter query pattern -A @dfn{query} consists of multiple @dfn{patterns}, each pattern is an +A @dfn{query} consists of multiple @dfn{patterns}. Each pattern is an s-expression that matches a certain node in the syntax node. A pattern has the following shape: @@ -1107,8 +1107,8 @@ query. It is usually a good idea to expand the s-expression patterns into strings for font-lock queries since they are called repeatedly. @end defun -Tree-sitter project's documentation about pattern-matching can be -found at +Finally, tree-sitter project's documentation about +pattern-matching can be found at @uref{https://tree-sitter.github.io/tree-sitter/using-parsers#pattern-matching-with-queries}. @node Multiple Languages