aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorRiley Bruins <ribru17@hotmail.com>2025-02-15 13:33:38 -0800
committerLewis Russell <me@lewisr.dev>2025-02-21 09:47:02 +0000
commit55b165ac15a7528a3c679d928b1edf9d701f850b (patch)
tree17c86f717b79a42e87cd9c58a031b0aff0a755f2 /runtime/doc
parent3e39250a79ef1a74bd64e283daf825208ca3875b (diff)
downloadrneovim-55b165ac15a7528a3c679d928b1edf9d701f850b.tar.gz
rneovim-55b165ac15a7528a3c679d928b1edf9d701f850b.tar.bz2
rneovim-55b165ac15a7528a3c679d928b1edf9d701f850b.zip
fix(treesitter): `TSNode:field()` returns all children with the given field
Diffstat (limited to 'runtime/doc')
-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`)