diff options
author | Lewis Russell <lewis6991@gmail.com> | 2024-10-24 15:43:38 +0100 |
---|---|---|
committer | Lewis Russell <me@lewisr.dev> | 2024-10-24 16:36:14 +0100 |
commit | 54249d051c3e0b97321939e6a3ae3d2e83971ce7 (patch) | |
tree | 9d145ca766928120bf1370a3da8d547682317a5d /runtime/lua/vim/lsp/handlers.lua | |
parent | 7a7747f1e4d96aab53ff9c52d0c3492308c22c58 (diff) | |
download | rneovim-54249d051c3e0b97321939e6a3ae3d2e83971ce7.tar.gz rneovim-54249d051c3e0b97321939e6a3ae3d2e83971ce7.tar.bz2 rneovim-54249d051c3e0b97321939e6a3ae3d2e83971ce7.zip |
feat(lsp): deprecate vim.lsp.buf.completion
Use `vim.lsp.completion.trigger()` instead'
Diffstat (limited to 'runtime/lua/vim/lsp/handlers.lua')
-rw-r--r-- | runtime/lua/vim/lsp/handlers.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/lsp/handlers.lua b/runtime/lua/vim/lsp/handlers.lua index 37cb07025c..a905f76fda 100644 --- a/runtime/lua/vim/lsp/handlers.lua +++ b/runtime/lua/vim/lsp/handlers.lua @@ -317,6 +317,7 @@ M[ms.textDocument_formatting] = function(_, result, ctx, _) util.apply_text_edits(result, ctx.bufnr, client.offset_encoding) end +--- @deprecated --- @see # https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_completion M[ms.textDocument_completion] = function(_, result, _, _) if vim.tbl_isempty(result or {}) then |