aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/treesitter/query.lua
diff options
context:
space:
mode:
authorChinmay Dalal <dalal.chinmay.0101@gmail.com>2022-02-13 19:13:25 +0530
committerGitHub <noreply@github.com>2022-02-13 14:43:25 +0100
commite4819017480c801c07619bfe740cc934e2f4c85b (patch)
treea40349edade35cb5cdaee6b5537204c10d3f9306 /runtime/lua/vim/treesitter/query.lua
parentc5f5c0d4dae602d6df616fb3c6afbad78fd7fa38 (diff)
downloadrneovim-e4819017480c801c07619bfe740cc934e2f4c85b.tar.gz
rneovim-e4819017480c801c07619bfe740cc934e2f4c85b.tar.bz2
rneovim-e4819017480c801c07619bfe740cc934e2f4c85b.zip
docs: treesitter.txt - fix overflowing lines, document minimum_language_version (#17286)
Diffstat (limited to 'runtime/lua/vim/treesitter/query.lua')
-rw-r--r--runtime/lua/vim/treesitter/query.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/treesitter/query.lua b/runtime/lua/vim/treesitter/query.lua
index 14940332d6..8383551b5f 100644
--- a/runtime/lua/vim/treesitter/query.lua
+++ b/runtime/lua/vim/treesitter/query.lua
@@ -146,13 +146,13 @@ local query_cache = setmetatable({}, {
})
--- 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 `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}.
+--- Exposes `info` and `captures` with additional context about {query}.
--- - `captures` contains the list of unique capture names defined in
--- {query}.
--- -` info.captures` also points to `captures`.