aboutsummaryrefslogtreecommitdiff
path: root/src/requests.odin
diff options
context:
space:
mode:
authorDanielGavin <danielgavin5@hotmail.com>2020-11-05 00:29:52 +0100
committerDanielGavin <danielgavin5@hotmail.com>2020-11-05 00:29:52 +0100
commite96f06d2e2bb9cc992870a12642c8dcf0145d98b (patch)
treec9b8cc17804ec064f6fd822f05b96316fd67bd21 /src/requests.odin
parenta66271230ffa3c4e3eb452d6037ffdc69b2b37c0 (diff)
started working on loading in all the sibling files in the same package
Diffstat (limited to 'src/requests.odin')
-rw-r--r--src/requests.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/requests.odin b/src/requests.odin
index 84d131c..43b96aa 100644
--- a/src/requests.odin
+++ b/src/requests.odin
@@ -272,7 +272,7 @@ notification_did_open :: proc(params: json.Value, id: RequestId, config: ^Config
return .ParseError;
}
- return document_open(open_params.textDocument.uri, open_params.textDocument.text, writer);
+ return document_open(open_params.textDocument.uri, open_params.textDocument.text, config, writer);
}
notification_did_change :: proc(params: json.Value, id: RequestId, config: ^Config, writer: ^Writer) -> Error {
@@ -289,7 +289,7 @@ notification_did_change :: proc(params: json.Value, id: RequestId, config: ^Conf
return .ParseError;
}
- document_apply_changes(change_params.textDocument.uri, change_params.contentChanges, writer);
+ document_apply_changes(change_params.textDocument.uri, change_params.contentChanges, config, writer);
return .None;
}