diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2020-11-05 00:29:52 +0100 |
|---|---|---|
| committer | DanielGavin <danielgavin5@hotmail.com> | 2020-11-05 00:29:52 +0100 |
| commit | e96f06d2e2bb9cc992870a12642c8dcf0145d98b (patch) | |
| tree | c9b8cc17804ec064f6fd822f05b96316fd67bd21 /src/requests.odin | |
| parent | a66271230ffa3c4e3eb452d6037ffdc69b2b37c0 (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.odin | 4 |
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; } |