aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/treesitter/dev.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2023-09-20 04:15:23 -0700
committerGitHub <noreply@github.com>2023-09-20 04:15:23 -0700
commit1b55f51d0d8468ca357514a868ac8e188b0c8722 (patch)
tree7212864dc2bcaa4ff2e6123620d6596692826509 /runtime/lua/vim/treesitter/dev.lua
parent50d5fcc0bc1a3a67b9c3cc7066d97593ea3cc22d (diff)
downloadrneovim-1b55f51d0d8468ca357514a868ac8e188b0c8722.tar.gz
rneovim-1b55f51d0d8468ca357514a868ac8e188b0c8722.tar.bz2
rneovim-1b55f51d0d8468ca357514a868ac8e188b0c8722.zip
docs: misc #24561
fix #24699 fix #25253
Diffstat (limited to 'runtime/lua/vim/treesitter/dev.lua')
-rw-r--r--runtime/lua/vim/treesitter/dev.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/lua/vim/treesitter/dev.lua b/runtime/lua/vim/treesitter/dev.lua
index 7f24ba8590..61d84017d4 100644
--- a/runtime/lua/vim/treesitter/dev.lua
+++ b/runtime/lua/vim/treesitter/dev.lua
@@ -597,8 +597,9 @@ function M.edit_query(lang)
})
api.nvim_buf_set_lines(query_buf, 0, -1, false, {
- ';; Write your query here. Use @captures to highlight matches in the source buffer.',
- ';; Completion for grammar nodes is available (see :h compl-omni)',
+ ';; Write queries here (see $VIMRUNTIME/queries/ for examples).',
+ ';; Move cursor to a capture ("@foo") to highlight matches in the source buffer.',
+ ';; Completion for grammar nodes is available (:help compl-omni)',
'',
'',
})