aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/treesitter.txt
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2023-03-10 16:16:49 +0000
committerGitHub <noreply@github.com>2023-03-10 16:16:49 +0000
commit762a06c6bcfbcc1e40ba670bae10bacdbb973524 (patch)
tree35220bdc0bcd8b3a2562a7d553c64b619d1b8a72 /runtime/doc/treesitter.txt
parent845efb8e12cb014b385deac62fb83622a99024ec (diff)
downloadrneovim-762a06c6bcfbcc1e40ba670bae10bacdbb973524.tar.gz
rneovim-762a06c6bcfbcc1e40ba670bae10bacdbb973524.tar.bz2
rneovim-762a06c6bcfbcc1e40ba670bae10bacdbb973524.zip
feat!(treesitter): do not return changes from LanguageTree:parse()
Never return the changes an only notify them using the `on_changedtree` callback. It is not guaranteed for a plugin that it'll be the first one to call `tree:parse()` and thus get the changes. Closes #19915
Diffstat (limited to 'runtime/doc/treesitter.txt')
-rw-r--r--runtime/doc/treesitter.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/doc/treesitter.txt b/runtime/doc/treesitter.txt
index c7a0e1927b..a8f25d2ff9 100644
--- a/runtime/doc/treesitter.txt
+++ b/runtime/doc/treesitter.txt
@@ -1099,7 +1099,6 @@ LanguageTree:parse({self}) *LanguageTree:parse()*
Return: ~
TSTree[]
- (table|nil) Change list
LanguageTree:register_cbs({self}, {cbs}) *LanguageTree:register_cbs()*
Registers callbacks for the |LanguageTree|.