aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJlll1 <arghantentua@tutanota.com>2022-11-15 10:23:56 +0100
committerGitHub <noreply@github.com>2022-11-15 10:23:56 +0100
commit9d2a6cd11e092de838939ce993e8d18f5c9584b7 (patch)
tree38ad28c51906f0c1c8adcdfc45e84caa99754ae2
parent74399738510cb880507cba14f71acc0a96e14327 (diff)
downloadrneovim-9d2a6cd11e092de838939ce993e8d18f5c9584b7.tar.gz
rneovim-9d2a6cd11e092de838939ce993e8d18f5c9584b7.tar.bz2
rneovim-9d2a6cd11e092de838939ce993e8d18f5c9584b7.zip
docs(treesitter): change links for `eq?` and `set!` to codeblocks (#21047)
-rw-r--r--runtime/doc/treesitter.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/treesitter.txt b/runtime/doc/treesitter.txt
index d6cd370ec7..dfaff672e6 100644
--- a/runtime/doc/treesitter.txt
+++ b/runtime/doc/treesitter.txt
@@ -212,7 +212,7 @@ treesitter queries from Lua.
TREESITTER QUERY PREDICATES *treesitter-predicates*
Predicates are special scheme nodes that are evaluated to conditionally capture
-nodes. For example, the |eq?| predicate can be used as follows: >
+nodes. For example, the `eq?` predicate can be used as follows: >
((identifier) @foo (#eq? @foo "foo"))
<
@@ -261,7 +261,7 @@ predicates.
TREESITTER QUERY DIRECTIVES *treesitter-directives*
Treesitter directives store metadata for a node or match and perform side
-effects. For example, the |set!| predicate sets metadata on the match or node: >
+effects. For example, the `set!` directive sets metadata on the match or node: >
((identifier) @foo (#set! "type" "parameter"))
<