aboutsummaryrefslogtreecommitdiff
path: root/src/server/check.odin
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/check.odin')
-rw-r--r--src/server/check.odin4
1 files changed, 2 insertions, 2 deletions
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)