fix: lsp: Regression with textDocument/didSave not getting sent
This commit is contained in:
parent
bb47a9a0b8
commit
0b1bc566e4
@ -472,7 +472,7 @@ fn save_impl<F: Future<Output = LspFormatting>>(
|
|||||||
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…
Reference in New Issue
Block a user