mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Update runtime/doc/treesitter.txt
Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com>
This commit is contained in:
parent
d1bed96778
commit
9162cc5417
@ -176,7 +176,7 @@ vim.treesitter.parse_query({lang}, {query})
|
|||||||
Parse {query} as a string. (If the query is in a file, the caller
|
Parse {query} as a string. (If the query is in a file, the caller
|
||||||
should read the contents into a string before calling).
|
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}
|
search nodes in the syntax tree for the patterns defined in {query}
|
||||||
using `iter_*` methods below. Exposes `info` and `captures` with
|
using `iter_*` methods below. Exposes `info` and `captures` with
|
||||||
additional information about the {query}.
|
additional information about the {query}.
|
||||||
|
Loading…
Reference in New Issue
Block a user