mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04:00
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?;
|
||||
|
||||
if let Some(language_server) = language_server {
|
||||
if language_server.is_initialized() {
|
||||
if !language_server.is_initialized() {
|
||||
return Ok(());
|
||||
}
|
||||
if let Some(notification) =
|
||||
|
Loading…
Reference in New Issue
Block a user