From c7d460c197defd2b56b01084b095f6352711b52a Mon Sep 17 00:00:00 2001 From: Thomas Vigouroux Date: Tue, 3 Nov 2020 18:43:41 +0100 Subject: treesitter: separate tree and parser While this might sound silly, it is needed for further improvements. --- runtime/doc/treesitter.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'runtime/doc') 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* -- cgit