aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorRiley Bruins <ribru17@hotmail.com>2025-01-27 14:25:06 -0800
committerGitHub <noreply@github.com>2025-01-27 14:25:06 -0800
commitc47496791a80f8b6b9e37866010305482de4c8ca (patch)
tree03cc397c4a76b49e3b2f24c3a7da9924012dd73e /runtime/doc
parent6aa42e8f92bd8bea49b7b2accfe4ab67a5344e41 (diff)
downloadrneovim-c47496791a80f8b6b9e37866010305482de4c8ca.tar.gz
rneovim-c47496791a80f8b6b9e37866010305482de4c8ca.tar.bz2
rneovim-c47496791a80f8b6b9e37866010305482de4c8ca.zip
docs(treesitter): fix TSNode:range() type signature #32224
Uses an overload to properly show the different return type based on the input parameter.
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/treesitter.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/treesitter.txt b/runtime/doc/treesitter.txt
index 61d90e53c8..6286924f10 100644
--- a/runtime/doc/treesitter.txt
+++ b/runtime/doc/treesitter.txt
@@ -832,7 +832,7 @@ TSNode:range({include_bytes}) *TSNode:range()*
• end byte (if {include_bytes} is `true`)
Parameters: ~
- • {include_bytes} (`boolean?`)
+ • {include_bytes} (`false?`)
Return (multiple): ~
(`integer`)