fix: lsp: Regression with textDocument/didSave not getting sent
commit0b1bc566e4e3cfa88e23133fb018c998f2052c52
authorBlaž Hrastnik <blaz@mxxn.io>
dateThu 9 Sep 2021, 11:54 (5 years ago)
parentbb47a9a
helix-view/src/document.rs+1−1
@@ -472,7 +472,7 @@ impl Document {
472472 to_writer(&mut file, encoding, &text).await?;
473473
474474 if let Some(language_server) = language_server {
475− if language_server.is_initialized() {
475+ if !language_server.is_initialized() {
476476 return Ok(());
477477 }
478478 if let Some(notification) =