docs: tag of :EditQuery #34844

Problem:
- Running `:h :EditQuery` throws error `E149: Sorry, no help for
  :EditQuery`
- vim_diff.txt miss an entry for `:EditQuery`

Solution:
- Make tag `[:EditQuery]()` right-aligned, similar to command `:Open`
- Update vim_diff.txt
This commit is contained in:
Phạm Bình An
2025-07-08 19:28:12 +07:00
committed by GitHub
parent bb6422f1ad
commit 435f03ee10
3 changed files with 3 additions and 2 deletions

View File

@ -1321,7 +1321,7 @@ add_predicate({name}, {handler}, {opts})
edit({lang}) *vim.treesitter.query.edit()*
Opens a live editor to query the buffer you started from.
Can also be shown with *:EditQuery*.
Can also be shown with `:EditQuery`. *:EditQuery*
If you move the cursor to a capture name ("@foo"), text matching the
capture is highlighted in the source buffer. The query editor is a scratch

View File

@ -301,6 +301,7 @@ Commands:
- |:checkhealth|
- |:detach|
- |:drop| is always available
- |:EditQuery|
- |:Inspect|
- |:InspectTree|
- |:Man| is available by default, with many improvements such as completion

View File

@ -1163,7 +1163,7 @@ end
--- Opens a live editor to query the buffer you started from.
---
--- Can also be shown with [:EditQuery]().
--- Can also be shown with `:EditQuery`. [:EditQuery]()
---
--- If you move the cursor to a capture name ("@foo"), text matching the capture is highlighted in
--- the source buffer. The query editor is a scratch buffer, use `:write` to save it. You can find