From 0b1bc566e4e3cfa88e23133fb018c998f2052c52 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Thu, 9 Sep 2021 11:54:01 +0900 Subject: fix: lsp: Regression with textDocument/didSave not getting sent --- helix-view/src/document.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-view') diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs index 6de60995..1f1b1f5f 100644 --- a/helix-view/src/document.rs +++ b/helix-view/src/document.rs @@ -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) = -- cgit v1.2.3-70-g09d2