Skip to content

Commit

Permalink
use None to make sure respond to LSP server nextls
Browse files Browse the repository at this point in the history
  • Loading branch information
manateelazycat committed May 11, 2024
1 parent b8768c4 commit c4b9ac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lspserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ def handle_work_done_progress_message(self, message):
# We need respond to request 'window/workDoneProgress/create',
# otherwise LSP server won't respond
if message["method"] == "window/workDoneProgress/create":
self.sender.send_response(message["id"], {})
self.sender.send_response(message["id"], None) # use None to make sure respond to LSP server nextls

progress_message = ""

Expand Down

0 comments on commit c4b9ac3

Please sign in to comment.