aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/_meta.lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2024-10-24 16:47:41 +0100
committerLewis Russell <lewis6991@gmail.com>2024-10-29 09:06:05 +0000
commit8260e4860b27a54a061bd8e2a9da23069993953a (patch)
tree0fdf62a8755a54c40e191dba3d629cb5e8c21ecb /runtime/lua/vim/lsp/_meta.lua
parent1471dfc85964a9d95c216619d715bfe449d97c19 (diff)
downloadrneovim-8260e4860b27a54a061bd8e2a9da23069993953a.tar.gz
rneovim-8260e4860b27a54a061bd8e2a9da23069993953a.tar.bz2
rneovim-8260e4860b27a54a061bd8e2a9da23069993953a.zip
feat(lsp)!: multiple client support for vim.lsp.buf.hover()
Deprecate `vim.lsp.handlers.hover` and `vim.lsp.handlers['textDocument/hover']`
Diffstat (limited to 'runtime/lua/vim/lsp/_meta.lua')
-rw-r--r--runtime/lua/vim/lsp/_meta.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/lsp/_meta.lua b/runtime/lua/vim/lsp/_meta.lua
index be3222828d..589a49c003 100644
--- a/runtime/lua/vim/lsp/_meta.lua
+++ b/runtime/lua/vim/lsp/_meta.lua
@@ -2,6 +2,7 @@
error('Cannot require a meta file')
---@alias lsp.Handler fun(err: lsp.ResponseError?, result: any, context: lsp.HandlerContext, config?: table): ...any
+---@alias lsp.MultiHandler fun(results: table<integer,{err: lsp.ResponseError?, result: any}>, context: lsp.HandlerContext, config?: table): ...any
---@class lsp.HandlerContext
---@field method string