diff options
author | pommicket <pommicket@gmail.com> | 2023-09-07 15:18:45 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-09-07 22:49:53 -0400 |
commit | 5cad1bee9b72610d9d97b5f97e7f1a245a2d2ba5 (patch) | |
tree | 5ee6f155f6900be4eeec07ad33417d2d9992a80f /lsp-parse.c | |
parent | 815d652b570f53c989f62d0c7db847d7d6dfd940 (diff) |
more diagnostics
Diffstat (limited to 'lsp-parse.c')
-rw-r--r-- | lsp-parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lsp-parse.c b/lsp-parse.c index 5337de5..df87a13 100644 --- a/lsp-parse.c +++ b/lsp-parse.c @@ -714,7 +714,7 @@ static bool parse_diagnostic(LSP *lsp, LSPRequest *request, const JSON *json, JS return false; diagnostic_out->message = lsp_request_add_json_string( request, json, - json_object_get_string(json, diagnostic_in, "request") + json_object_get_string(json, diagnostic_in, "message") ); JSONValue severity_val = json_object_get(json, diagnostic_in, "severity"); LSPDiagnosticSeverity severity = LSP_DIAGNOSTIC_SEVERITY_INFORMATION; |