diff options
author | Thomas Vigouroux <tomvig38@gmail.com> | 2020-11-25 08:02:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-25 08:02:08 +0100 |
commit | ea3aaa020fee3265e972aaff15f38959d76d875e (patch) | |
tree | c992ff69132f138daed09dadaecfb0ef4e60e5a7 | |
parent | 11e64de511461999b95feaaa4880a820604a7138 (diff) | |
parent | 21eb2e5ef8ee0dcbce6200e6d24958797466af1a (diff) | |
download | rneovim-ea3aaa020fee3265e972aaff15f38959d76d875e.tar.gz rneovim-ea3aaa020fee3265e972aaff15f38959d76d875e.tar.bz2 rneovim-ea3aaa020fee3265e972aaff15f38959d76d875e.zip |
Merge pull request #13374 from bkegley/patch-1
fix(treesitter): docs reflect parser:parse()
-rw-r--r-- | runtime/doc/treesitter.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/treesitter.txt b/runtime/doc/treesitter.txt index b6a238f158..ae77b0a35a 100644 --- a/runtime/doc/treesitter.txt +++ b/runtime/doc/treesitter.txt @@ -47,7 +47,7 @@ Whenever you need to access the current syntax tree, parse the buffer: > tstree = parser:parse() -<This will return an immutable tree that represents the current state of the +<This will return a table of immutable trees that represent the current state of the buffer. When the plugin wants to access the state after a (possible) edit it should call `parse()` again. If the buffer wasn't edited, the same tree will be returned again without extra work. If the buffer was parsed before, |