aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/treesitter.txt
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-04-15 12:35:06 +0200
committerGitHub <noreply@github.com>2022-04-15 12:35:06 +0200
commite63e5d1dbd3dd4711efa0ecf9e844ff308b370a6 (patch)
treea05cf2f0a352b6bf3db38e5c7a57842615cc4a48 /runtime/doc/treesitter.txt
parent4503cb6b642e0b1ba8157154af6a220387e607f0 (diff)
downloadrneovim-e63e5d1dbd3dd4711efa0ecf9e844ff308b370a6.tar.gz
rneovim-e63e5d1dbd3dd4711efa0ecf9e844ff308b370a6.tar.bz2
rneovim-e63e5d1dbd3dd4711efa0ecf9e844ff308b370a6.zip
docs: typo fixes (#17859)
Co-authored-by: Elias Alves Moura <eliamoura.alves@gmail.com> Co-authored-by: venkatesh <shariharanvenkatesh@gmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: Vikas Raj <24727447+numToStr@users.noreply.github.com> Co-authored-by: Steve Vermeulen <sfvermeulen@gmail.com> Co-authored-by: Evgeni Chasnovski <evgeni.chasnovski@gmail.com> Co-authored-by: rwxd <rwxd@pm.me> Co-authored-by: casswedson <58050969+casswedson@users.noreply.github.com>
Diffstat (limited to 'runtime/doc/treesitter.txt')
-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 a9d9f81849..b10bf3498d 100644
--- a/runtime/doc/treesitter.txt
+++ b/runtime/doc/treesitter.txt
@@ -268,7 +268,7 @@ Here is a list of built-in directives:
((identifier) @foo (#set! @foo "kind" "parameter"))
((node1) @left (node2) @right (#set! "type" "pair"))
<
- `offset!` *ts-predicate-offset!*
+ `offset!` *ts-directive-offset!*
Takes the range of the captured node and applies the offsets
to it's range : >
((identifier) @constant (#offset! @constant 0 1 0 -1))