aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/treesitter/query.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-02-12 14:16:47 +0100
committerJustin M. Keyes <justinkz@gmail.com>2026-03-11 18:00:18 +0100
commitb8a976afdaf0080498e85530fae65a3165f201d5 (patch)
treedf9889722d148f6d97f3821264a7c0255d5bee8b /runtime/lua/vim/treesitter/query.lua
parent4aeeaa80273eda1cf4fdb5de4b8ea65a16cefbaf (diff)
downloadrneovim-b8a976afdaf0080498e85530fae65a3165f201d5.tar.gz
rneovim-b8a976afdaf0080498e85530fae65a3165f201d5.tar.bz2
rneovim-b8a976afdaf0080498e85530fae65a3165f201d5.zip
docs: api, messages, lsp, trust
gen_vimdoc.lua: In prepare for the upcoming release, comment-out the "Experimental" warning for prerelease features.
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)