diff options
author | pommicket <pommicket@gmail.com> | 2022-12-19 11:00:45 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-19 11:00:45 -0500 |
commit | 8deb7afed44d7be52cb450c3177ecc8e63fd46eb (patch) | |
tree | 50dbc44e54bf7d06a9e118d73e167f2a116b72ee /main.c | |
parent | 70d19dbf9fc9bcbbcd0208b4b6e42017fcc5e826 (diff) |
much better system for writing requests
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -311,8 +311,10 @@ int main(int argc, char **argv) { test_req.data.completion = (LSPRequestCompletion){ .position = { .path = str_dup("/p/test-lsp/src/main.rs"), - .line = 2, - .character = 2, + .pos = { + .line = 2, + .character = 2, + }, } }; lsp_send_request(&lsp, &test_req); |