From bf9154febe8f43bf1276275b98427225ec98eab6 Mon Sep 17 00:00:00 2001
From: dundargoc
Date: Sat, 10 Feb 2024 16:41:47 +0100
Subject: [PATCH] docs: small fixes
Co-authored-by: Wang
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
---
docs/index.md | 1 +
docs/section-2-using-parsers.md | 2 +-
docs/section-7-playground.html | 4 ++--
test/fuzz/README.md | 2 +-
4 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/docs/index.md b/docs/index.md
index 71052654..28c03546 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -20,6 +20,7 @@ There are currently bindings that allow Tree-sitter to be used from the followin
* [Guile](https://github.com/Z572/guile-ts)
* [Haskell](https://github.com/tree-sitter/haskell-tree-sitter)
* [Java](https://github.com/serenadeai/java-tree-sitter)
+* [Java](https://github.com/bonede/tree-sitter-ng)
* [Java (Android)](https://github.com/AndroidIDEOfficial/android-tree-sitter)
* [JavaScript (Node.js)](https://github.com/tree-sitter/node-tree-sitter)
* [JavaScript (Wasm)](https://github.com/tree-sitter/tree-sitter/tree/master/lib/binding_web)
diff --git a/docs/section-2-using-parsers.md b/docs/section-2-using-parsers.md
index 7929b8f3..893b7143 100644
--- a/docs/section-2-using-parsers.md
+++ b/docs/section-2-using-parsers.md
@@ -661,7 +661,7 @@ Consider the following example targeting C:
(#eq? @variable.builtin "self"))
```
-This pattern would match any identifier that is `self` or `this`.
+This pattern would match any identifier that is `self`.
And this pattern would match key-value pairs where the `value` is an identifier
with the same name as the key:
diff --git a/docs/section-7-playground.html b/docs/section-7-playground.html
index 03cb0541..72b6c385 100644
--- a/docs/section-7-playground.html
+++ b/docs/section-7-playground.html
@@ -54,12 +54,12 @@ permalink: playground
About
You can try out tree-sitter with a few pre-selected grammars on this page.
You can also run playground locally (with your own grammar) using the
- CLI's tree-sitter playground subcommand.
+ CLI's tree-sitter playground subcommand.
The syntax tree should update as you type in the code. As you move around the
code, the current node should be highlighted in the tree; you can also click any
node in the tree to select the corresponding part of the code.
Logging (if enabled) can be viewed in the browser's console.
-You can enter one or more patterns
+
You can enter one or more patterns
into the Query panel. If the query is valid, its captures will be
highlighted both in the Code and in the Query panels. Otherwise
the problematic parts of the query will be underlined, and detailed
diff --git a/test/fuzz/README.md b/test/fuzz/README.md
index a02d2689..5adc1b04 100644
--- a/test/fuzz/README.md
+++ b/test/fuzz/README.md
@@ -34,7 +34,7 @@ The `run-fuzzer` script handles running an individual fuzzer with a sensible def
which will log information to stdout. Failing testcases and a fuzz corpus will be saved to `fuzz-results/`. The most important extra `libFuzzer` options are `-jobs` and `-workers` which allow parallel fuzzing. This is can done with, e.g.:
```
-./script/run-fuzzer halt -jobs=32 -workers=32
+./script/run-fuzzer halt -jobs=32 -workers=32
```
The testcase can be used to reproduce the crash by running: