summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
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 f8e3c98..2c0a18d 100644
--- a/main.c
+++ b/main.c
@@ -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);