aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/treesitter.txt
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc/treesitter.txt')
-rw-r--r--runtime/doc/treesitter.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/treesitter.txt b/runtime/doc/treesitter.txt
index b04f13add5..344bd37ddd 100644
--- a/runtime/doc/treesitter.txt
+++ b/runtime/doc/treesitter.txt
@@ -713,7 +713,7 @@ TSNode:extra() *TSNode:extra()*
(`boolean`)
TSNode:field({name}) *TSNode:field()*
- Returns a table of the nodes corresponding to the {name} field.
+ Returns a list of all the node's children that have the given field name.
Parameters: ~
• {name} (`string`)