diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2025-01-15 02:01:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-15 02:01:44 -0800 |
commit | 3ee63edc1b0ca6fe664c9d5368aba05ae9a22e9d (patch) | |
tree | a696adf2e1449b17d8ff8a44ecf83a90e78d5cea /runtime/lua/vim/lsp/util.lua | |
parent | 0a7e4e9e5f28f3b6b3c83040430d0a36fcd71fad (diff) | |
parent | 575f4bc7d5069792188520d1f0e5ed12cc035002 (diff) | |
download | rneovim-3ee63edc1b0ca6fe664c9d5368aba05ae9a22e9d.tar.gz rneovim-3ee63edc1b0ca6fe664c9d5368aba05ae9a22e9d.tar.bz2 rneovim-3ee63edc1b0ca6fe664c9d5368aba05ae9a22e9d.zip |
Merge #32001 from MariaSolOs/consistent-namespaces
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
-rw-r--r-- | runtime/lua/vim/lsp/util.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/lua/vim/lsp/util.lua b/runtime/lua/vim/lsp/util.lua index 14633adf0c..4e0adf3366 100644 --- a/runtime/lua/vim/lsp/util.lua +++ b/runtime/lua/vim/lsp/util.lua @@ -1357,7 +1357,7 @@ end ---@param bufnrs table list of buffers where the preview window will remain visible ---@see autocmd-events local function close_preview_autocmd(events, winnr, bufnrs) - local augroup = api.nvim_create_augroup('preview_window_' .. winnr, { + local augroup = api.nvim_create_augroup('nvim.preview_window_' .. winnr, { clear = true, }) @@ -1619,7 +1619,7 @@ function M.open_floating_preview(contents, syntax, opts) api.nvim_buf_set_var(bufnr, 'lsp_floating_preview', floating_winnr) end - local augroup_name = ('closing_floating_preview_%d'):format(floating_winnr) + local augroup_name = ('nvim.closing_floating_preview_%d'):format(floating_winnr) local ok = pcall(api.nvim_get_autocmds, { group = augroup_name, pattern = tostring(floating_winnr) }) if not ok then @@ -1650,7 +1650,7 @@ function M.open_floating_preview(contents, syntax, opts) end do --[[ References ]] - local reference_ns = api.nvim_create_namespace('vim_lsp_references') + local reference_ns = api.nvim_create_namespace('nvim.lsp.references') --- Removes document highlights from a buffer. --- |