fix: lsp: Regression with textDocument/didSave not getting sent

This commit is contained in:
Blaž Hrastnik 2021-09-09 11:54:01 +09:00
parent bb47a9a0b8
commit 0b1bc566e4

View file

@ -472,7 +472,7 @@ impl Document {
to_writer(&mut file, encoding, &text).await?;
if let Some(language_server) = language_server {
if language_server.is_initialized() {
if !language_server.is_initialized() {
return Ok(());
}
if let Some(notification) =