Skip to content

Commit

Permalink
When sending a successful response message to the LSP server, use a n…
Browse files Browse the repository at this point in the history
…ull instead of an empty Dict
  • Loading branch information
yegappan committed Feb 21, 2024
1 parent 87189fa commit a4cdb9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions autoload/lsp/handlers.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a4cdb9c

Please sign in to comment.