diff options
Diffstat (limited to 'runtime/lua/vim/treesitter/query.lua')
| -rw-r--r-- | runtime/lua/vim/treesitter/query.lua | 6 |
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) |
