summaryrefslogtreecommitdiff
path: root/lsp-write.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-27 14:25:38 -0500
committerpommicket <pommicket@gmail.com>2022-12-27 14:25:38 -0500
commita11545e25cf2f65047158cc1fd7ed5a0f11a9fa0 (patch)
tree981d690b83058b3d858cd14c5b7ebcef0b0f1e60 /lsp-write.c
parentcb3f9f672343a98ab8bae0479a7c2e7570c37609 (diff)
handle window/showMessageRequest (hopefully)
Diffstat (limited to 'lsp-write.c')
-rw-r--r--lsp-write.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lsp-write.c b/lsp-write.c
index f633c2e..ecffe76 100644
--- a/lsp-write.c
+++ b/lsp-write.c
@@ -512,6 +512,9 @@ static void write_response(LSP *lsp, LSPResponse *response) {
write_workspace_folders(o, lsp->workspace_folders);
SDL_UnlockMutex(lsp->workspace_folders_mutex);
break;
+ case LSP_REQUEST_SHOW_MESSAGE:
+ write_null(o);
+ break;
default:
// this is not a valid client-to-server response.
assert(0);