From 9162cc5417f7d4a4063633e7e4b83b941c8da7cf Mon Sep 17 00:00:00 2001 From: Luis Piloto Date: Thu, 5 Nov 2020 09:14:33 +0000 Subject: [PATCH] Update runtime/doc/treesitter.txt Co-authored-by: Thomas Vigouroux --- runtime/doc/treesitter.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/doc/treesitter.txt b/runtime/doc/treesitter.txt index 9f0d529b9a..58cd535e98 100644 --- a/runtime/doc/treesitter.txt +++ b/runtime/doc/treesitter.txt @@ -176,7 +176,7 @@ vim.treesitter.parse_query({lang}, {query}) Parse {query} as a string. (If the query is in a file, the caller should read the contents into a string before calling). - Returns a |lua-treesitter-query| Query object which can be used to + Returns a `Query` (see |lua-treesitter-query|) object which can be used to search nodes in the syntax tree for the patterns defined in {query} using `iter_*` methods below. Exposes `info` and `captures` with additional information about the {query}.