aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorThomas Vigouroux <tomvig38@gmail.com>2020-11-03 18:43:41 +0100
committerThomas Vigouroux <tomvig38@gmail.com>2020-11-04 08:14:20 +0100
commitc7d460c197defd2b56b01084b095f6352711b52a (patch)
treee51f9260686f2a661ddc003384d4abb617510314 /runtime/doc
parenteee0668818bee673b0f1637340c358cf83da2347 (diff)
downloadrneovim-c7d460c197defd2b56b01084b095f6352711b52a.tar.gz
rneovim-c7d460c197defd2b56b01084b095f6352711b52a.tar.bz2
rneovim-c7d460c197defd2b56b01084b095f6352711b52a.zip
treesitter: separate tree and parser
While this might sound silly, it is needed for further improvements.
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*