From be1f51929763e3910bb89e09d035dae9fbc01862 Mon Sep 17 00:00:00 2001 From: DanielGavin Date: Sat, 30 Nov 2024 14:15:10 +0100 Subject: Fix issues with completing field with using. --- src/server/check.odin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/check.odin') diff --git a/src/server/check.odin b/src/server/check.odin index 0f9588b..b02587b 100644 --- a/src/server/check.odin +++ b/src/server/check.odin @@ -174,14 +174,14 @@ check :: proc(paths: []string, uri: common.Uri, writer: ^Writer, config: ^common diagnostics = {}, } - notifaction := Notification { + notification := Notification { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = params, } if writer != nil { - send_notification(notifaction, writer) + send_notification(notification, writer) } delete(uri) -- cgit v1.2.3