emacs-diffs
[Top][All Lists]
Advanced

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

feature/tree-sitter 016e4ca7a7 12/26: ; * doc/lispref/parsing.texi: Mino


From: Yuan Fu
Subject: feature/tree-sitter 016e4ca7a7 12/26: ; * doc/lispref/parsing.texi: Minor fix-up.
Date: Thu, 16 Jun 2022 14:53:46 -0400 (EDT)

branch: feature/tree-sitter
commit 016e4ca7a74b47979d6180672b13d02e2269baed
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>

    ; * doc/lispref/parsing.texi: Minor fix-up.
---
 doc/lispref/parsing.texi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/lispref/parsing.texi b/doc/lispref/parsing.texi
index 72be91877b..c6909da002 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



reply via email to

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