From b459bf5961fd6bbd7c887d9c3751ff5dbbdcf55d Mon Sep 17 00:00:00 2001 From: Davidyz Date: Tue, 14 Oct 2025 22:07:52 +0800 Subject: fix(lsp): include missing LSP methods and update type annotations --- runtime/lua/vim/lsp/protocol.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'runtime/lua/vim/lsp/protocol.lua') diff --git a/runtime/lua/vim/lsp/protocol.lua b/runtime/lua/vim/lsp/protocol.lua index 2a45e20cbc..509c203ef7 100644 --- a/runtime/lua/vim/lsp/protocol.lua +++ b/runtime/lua/vim/lsp/protocol.lua @@ -728,6 +728,8 @@ end --- LSP Notification (direction: clientToServer) --- @alias vim.lsp.protocol.Method.ClientToServer.Notification +--- | '$/cancelRequest', +--- | '$/progress', --- | '$/setTrace', --- | 'exit', --- | 'initialized', @@ -773,7 +775,9 @@ end --- LSP Notification (direction: serverToClient) --- @alias vim.lsp.protocol.Method.ServerToClient.Notification +--- | '$/cancelRequest', --- | '$/logTrace', +--- | '$/progress', --- | 'telemetry/event', --- | 'textDocument/publishDiagnostics', --- | 'window/logMessage', -- cgit