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

pull/739/head
Blaž Hrastnik 3 years ago
parent bb47a9a0b8
commit 0b1bc566e4

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

Loading…
Cancel
Save