summaryrefslogtreecommitdiff
path: root/lsp.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-26 20:41:43 -0500
committerpommicket <pommicket@gmail.com>2022-12-26 20:41:43 -0500
commit9a5cad47fe6a8b84892f62e110ca887c95df5eff (patch)
tree48f5bcdf4d36d11716d233e98f52d1a9cb583143 /lsp.h
parent44d607df5d5a9a1c892fe56c4874fbef7f209464 (diff)
workspace/workspaceFolders request
Diffstat (limited to 'lsp.h')
-rw-r--r--lsp.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lsp.h b/lsp.h
index 666ff1b..85993cb 100644
--- a/lsp.h
+++ b/lsp.h
@@ -259,15 +259,13 @@ typedef struct LSP {
// this is a dynamic array which just keeps growing.
// but the user isn't gonna open millions of files so it's fine.
LSPDocumentData *document_data;
- LSPMessage *messages;
SDL_mutex *messages_mutex;
- LSPRequest *requests_client2server;
- LSPRequest *requests_server2client;
+ LSPMessage *messages_server2client;
+ LSPMessage *messages_client2server;
// we keep track of client-to-server requests
// so that we can process responses.
// this also lets us re-send requests if that's ever necessary.
LSPRequest *requests_sent;
- SDL_mutex *requests_mutex;
bool initialized; // has the response to the initialize request been sent?
SDL_Thread *communication_thread;
SDL_sem *quit_sem;