diff --git a/crates/lsp/src/capabilities.rs b/crates/lsp/src/capabilities.rs index c4e30b71a6..76ce4d739b 100644 --- a/crates/lsp/src/capabilities.rs +++ b/crates/lsp/src/capabilities.rs @@ -80,7 +80,7 @@ impl EffectiveCapability for cap::DidSaveTextDocument { Some( id_to_save_options_map .values() - .any(|data| data.include_text), + .any(|data| data.include_text.unwrap_or(false)), ) } })