summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 2c0a18d..ae4b688 100644
--- a/main.c
+++ b/main.c
@@ -310,7 +310,7 @@ int main(int argc, char **argv) {
LSPRequest test_req = {.type = LSP_REQUEST_COMPLETION};
test_req.data.completion = (LSPRequestCompletion){
.position = {
- .path = str_dup("/p/test-lsp/src/main.rs"),
+ .document = str_dup("/p/test-lsp/src/main.rs"),
.pos = {
.line = 2,
.character = 2,