summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-07 20:22:42 -0500
committerpommicket <pommicket@gmail.com>2022-12-07 20:22:42 -0500
commit62aea26c345c74ddee40712eb72eb290a1bfd902 (patch)
treeb6451e917533c9fc75f58c053ec87418871ab048 /main.c
parent65b72b38ec6c3a51b33e5d32313b51df993b32e4 (diff)
more lsp stuff
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/main.c b/main.c
index 2792bd9..81e5199 100644
--- a/main.c
+++ b/main.c
@@ -292,13 +292,15 @@ int main(int argc, char **argv) {
printf("lsp_create: %s\n",lsp.error);
exit(1);
}
+// LSPRequest test_req = {LSP_COMPLETION};
+// lsp_send_request(&lsp, &test_req);
while (1) {
JSON response = {0};
if (lsp_next_response(&lsp, &response)) {
json_debug_print(&response);
- break;
+ printf("\n");
}
- usleep(100000);
+ usleep(10000);
}
lsp_free(&lsp);
exit(0);