summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/treesitter/query.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-03-11 13:39:39 -0400
committerGitHub <noreply@github.com>2026-03-11 13:39:39 -0400
commitba0baea620b16cb6ce4ecfcd7c5e69ebe478c276 (patch)
tree2ba9a9f91a54786f6d7d4bfdbea448943e6c0d34 /runtime/lua/vim/treesitter/query.lua
parent0ced2169279bc7d1d1dad906f9841707e336c371 (diff)
parent682f5fee600802236e104ef85b5fbc6d3fe860cf (diff)
Merge #37830 docs
Diffstat (limited to 'runtime/lua/vim/treesitter/query.lua')
-rw-r--r--runtime/lua/vim/treesitter/query.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/runtime/lua/vim/treesitter/query.lua b/runtime/lua/vim/treesitter/query.lua
index 7fa954698d..d29e376ef1 100644
--- a/runtime/lua/vim/treesitter/query.lua
+++ b/runtime/lua/vim/treesitter/query.lua
@@ -1193,10 +1193,8 @@ end
--- parsers.
---
--- If you move the cursor to a capture name ("@foo"), text matching the capture is highlighted
---- with |hl-DiagnosticVirtualTextHint| in the source buffer.
----
---- The query editor is a scratch buffer, use `:write` to save it. You can find example queries
---- at `$VIMRUNTIME/queries/`.
+--- with |hl-DiagnosticVirtualTextHint| in the source buffer. The query editor is a scratch buffer,
+--- use `:write` to save it. You can find example queries at `$VIMRUNTIME/queries/`.
---
--- @param lang? string language to open the query editor for. If omitted, inferred from the current buffer's filetype.
function M.edit(lang)