diff --git a/runtime/lua/vim/lsp/protocol.lua b/runtime/lua/vim/lsp/protocol.lua index 3c031977e1..c0a93740b3 100644 --- a/runtime/lua/vim/lsp/protocol.lua +++ b/runtime/lua/vim/lsp/protocol.lua @@ -162,14 +162,13 @@ local constants = { MethodNotFound = -32601, InvalidParams = -32602, InternalError = -32603, - serverErrorStart = -32099, - serverErrorEnd = -32000, ServerNotInitialized = -32002, UnknownErrorCode = -32001, -- Defined by the protocol. RequestCancelled = -32800, ContentModified = -32801, ServerCancelled = -32802, + RequestFailed = -32803, }, -- Describes the content type that a client supports in various