aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r--runtime/ftplugin/help.lua2
-rw-r--r--runtime/ftplugin/query.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/runtime/ftplugin/help.lua b/runtime/ftplugin/help.lua
index 689a4db408..ed8f93c71c 100644
--- a/runtime/ftplugin/help.lua
+++ b/runtime/ftplugin/help.lua
@@ -46,7 +46,7 @@ local query = vim.treesitter.query.parse(
(#set! @code lang @_lang))
]]
)
-local run_message_ns = vim.api.nvim_create_namespace('vimdoc/run_message')
+local run_message_ns = vim.api.nvim_create_namespace('nvim.vimdoc.run_message')
vim.api.nvim_buf_clear_namespace(0, run_message_ns, 0, -1)
for _, match, metadata in query:iter_matches(tree:root(), 0, 0, -1) do
diff --git a/runtime/ftplugin/query.lua b/runtime/ftplugin/query.lua
index 711ee35775..aa5cac2f07 100644
--- a/runtime/ftplugin/query.lua
+++ b/runtime/ftplugin/query.lua
@@ -21,7 +21,7 @@ local query_lint_on = vim.g.query_lint_on or { 'BufEnter', 'BufWrite' }
if not vim.b.disable_query_linter and #query_lint_on > 0 then
vim.api.nvim_create_autocmd(query_lint_on, {
- group = vim.api.nvim_create_augroup('querylint', { clear = false }),
+ group = vim.api.nvim_create_augroup('nvim.querylint', { clear = false }),
buffer = buf,
callback = function()
vim.treesitter.query.lint(buf)