mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
fix(lsp): use correct deprecation function (#34518)
This commit is contained in:

committed by
GitHub

parent
29f2cb89f0
commit
00ad477419
@@ -454,7 +454,7 @@ end
|
|||||||
---
|
---
|
||||||
---@see vim.lsp.protocol.CompletionTriggerKind
|
---@see vim.lsp.protocol.CompletionTriggerKind
|
||||||
function M.completion(context)
|
function M.completion(context)
|
||||||
vim.depends('vim.lsp.buf.completion', 'vim.lsp.completion.trigger', '0.12')
|
vim.deprecate('vim.lsp.buf.completion', 'vim.lsp.completion.trigger', '0.12')
|
||||||
return lsp.buf_request(
|
return lsp.buf_request(
|
||||||
0,
|
0,
|
||||||
ms.textDocument_completion,
|
ms.textDocument_completion,
|
||||||
|
Reference in New Issue
Block a user