diff --git a/cli/README.md b/cli/README.md index b6f526e9..fe45b17b 100644 --- a/cli/README.md +++ b/cli/README.md @@ -36,4 +36,4 @@ The `tree-sitter` binary itself has no dependencies, but specific commands have * `test` - The `tree-sitter test` command will run the unit tests for the Tree-sitter parser in the current working directory. See [the documentation](http://tree-sitter.github.io/tree-sitter/creating-parsers) for more information. -* `parse` - The `tree-sitter parse` command will parse a file (or list of file) using Tree-sitter parsers. +* `parse` - The `tree-sitter parse` command will parse a file (or list of files) using Tree-sitter parsers. diff --git a/docs/section-2-using-parsers.md b/docs/section-2-using-parsers.md index 86b5d750..d3734018 100644 --- a/docs/section-2-using-parsers.md +++ b/docs/section-2-using-parsers.md @@ -464,7 +464,7 @@ In general, it's a good idea to make patterns more specific by specifying [field #### Negated Fields -You can also constrain a pattern so that it only mathces nodes that *lack* a certain field. To do this, add a field name prefixed by a `!` within the parent pattern. For example, this pattern would match a class declaration with no type parameters: +You can also constrain a pattern so that it only matches nodes that *lack* a certain field. To do this, add a field name prefixed by a `!` within the parent pattern. For example, this pattern would match a class declaration with no type parameters: ``` (class_declaration