Skip to content

Commit

Permalink
fix: lsp: Regression with textDocument/didSave not getting sent
Browse files Browse the repository at this point in the history
  • Loading branch information
archseer committed Sep 9, 2021
1 parent bb47a9a commit 0b1bc56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-view/src/document.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) =
Expand Down

0 comments on commit 0b1bc56

Please sign in to comment.