aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/treesitter.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/treesitter.txt b/runtime/doc/treesitter.txt
index aaf13d1640..072f2cd074 100644
--- a/runtime/doc/treesitter.txt
+++ b/runtime/doc/treesitter.txt
@@ -74,6 +74,9 @@ Tree methods *lua-treesitter-tree*
tstree:root() *tstree:root()*
Return the root node of this tree.
+tstree:copy() *tstree:copy()*
+ Returns a copy of the `tstree`.
+
Node methods *lua-treesitter-node*