]> Sergey Matveev's repositories - vim-lsp.git/commitdiff
When sending a successful response message to the LSP server, use a null instead...
authorYegappan Lakshmanan <yegappan@yahoo.com>
Wed, 21 Feb 2024 16:09:52 +0000 (08:09 -0800)
committerYegappan Lakshmanan <yegappan@yahoo.com>
Wed, 21 Feb 2024 16:09:52 +0000 (08:09 -0800)
autoload/lsp/handlers.vim

index ca5741c9df13851e05db9b3de7132b957238a39c..85af2c27d2a080da1ee2341790e0a78834d6e372 100644 (file)
@@ -190,21 +190,21 @@ enddef
 # Request: "window/workDoneProgress/create"
 # Param: none
 def ProcessWorkDoneProgressCreate(lspserver: dict<any>, request: dict<any>)
-  lspserver.sendResponse(request, {}, {})
+  lspserver.sendResponse(request, null, {})
 enddef
 
 # process the client/registerCapability LSP server request
 # Request: "client/registerCapability"
 # Param: RegistrationParams
 def ProcessClientRegisterCap(lspserver: dict<any>, request: dict<any>)
-  lspserver.sendResponse(request, {}, {})
+  lspserver.sendResponse(request, null {})
 enddef
 
 # process the client/unregisterCapability LSP server request
 # Request: "client/unregisterCapability"
 # Param: UnregistrationParams
 def ProcessClientUnregisterCap(lspserver: dict<any>, request: dict<any>)
-  lspserver.sendResponse(request, {}, {})
+  lspserver.sendResponse(request, null, {})
 enddef
 
 # process a request message from the server