mirror of
https://github.com/kbwo/testing-language-server.git
synced 2025-08-03 23:28:14 +00:00
fix: handle shutdown correctly according to specification
Specification: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#shutdown
This commit is contained in:
parent
aee202b9d1
commit
46a9d12823
1 changed files with 2 additions and 2 deletions
|
@ -467,7 +467,7 @@ impl TestingLS {
|
|||
send_stdout(&json!({
|
||||
"jsonrpc": "2.0",
|
||||
"id": id,
|
||||
"method": json!(null),
|
||||
"result": null
|
||||
}))?;
|
||||
Ok(())
|
||||
}
|
||||
|
@ -614,4 +614,4 @@ mod tests {
|
|||
let status = server.diagnose_workspace().unwrap();
|
||||
assert_eq!(status, WorkspaceDiagnosticsStatus::Skipped);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue