aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/treesitter/query.lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-02-23 13:02:15 +0100
committerGitHub <noreply@github.com>2023-02-23 13:02:15 +0100
commit0cd0fdf4788b892a85c196b26a4099ae2e86beff (patch)
tree00de2dd45d9a5bb3ba743a22974aa9fded165a08 /runtime/lua/vim/treesitter/query.lua
parent524e1a06432ed7a88c1e183d81812dd48dc18cfb (diff)
parent6dfbeb0d990d24657754463c6ab155c19e7f5f56 (diff)
downloadrneovim-0cd0fdf4788b892a85c196b26a4099ae2e86beff.tar.gz
rneovim-0cd0fdf4788b892a85c196b26a4099ae2e86beff.tar.bz2
rneovim-0cd0fdf4788b892a85c196b26a4099ae2e86beff.zip
Merge pull request #22357 from clason/docs-ts
* Work around tree-sitter-vimdoc parsing errors introduced in a recent PR. * Drop the tolerance of the test to 0 to make sure this doesn't happen again.
Diffstat (limited to 'runtime/lua/vim/treesitter/query.lua')
-rw-r--r--runtime/lua/vim/treesitter/query.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/treesitter/query.lua b/runtime/lua/vim/treesitter/query.lua
index 83910316a6..58a29f2fe0 100644
--- a/runtime/lua/vim/treesitter/query.lua
+++ b/runtime/lua/vim/treesitter/query.lua
@@ -639,7 +639,7 @@ end
--- -- typically useful info about the node:
--- local type = node:type() -- type of the captured node
--- local row1, col1, row2, col2 = node:range() -- range of the capture
---- ... use the info here ...
+--- -- ... use the info here ...
--- end
--- </pre>
---
@@ -693,7 +693,7 @@ end
---
--- local node_data = metadata[id] -- Node level metadata
---
---- ... use the info here ...
+--- -- ... use the info here ...
--- end
--- end
--- </pre>