diff options
author | pommicket <pommicket@gmail.com> | 2022-12-07 20:22:42 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-07 20:22:42 -0500 |
commit | 62aea26c345c74ddee40712eb72eb290a1bfd902 (patch) | |
tree | b6451e917533c9fc75f58c053ec87418871ab048 /main.c | |
parent | 65b72b38ec6c3a51b33e5d32313b51df993b32e4 (diff) |
more lsp stuff
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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); |