summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-09-09 02:54:01 +0000
committerBlaž Hrastnik2021-09-09 02:54:43 +0000
commit0b1bc566e4e3cfa88e23133fb018c998f2052c52 (patch)
tree59ed87e0a6590e3290673c5bfe8fd903442d9e86
parentbb47a9a0b8944a5933d45b2c7b6c22cb2e96c4d5 (diff)
fix: lsp: Regression with textDocument/didSave not getting sent
-rw-r--r--helix-view/src/document.rs2
1 files changed, 1 insertions, 1 deletions
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) =