diff options
Diffstat (limited to 'helix-view/src/document.rs')
-rw-r--r-- | helix-view/src/document.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs index 785b0ca8..f32cca76 100644 --- a/helix-view/src/document.rs +++ b/helix-view/src/document.rs @@ -193,8 +193,11 @@ impl Document { // emit lsp notification if let Some(language_server) = &self.language_server { - let notify = language_server - .text_document_did_change(self.versioned_identifier(), transaction.changes()); + let notify = language_server.text_document_did_change( + self.versioned_identifier(), + &old_doc, + transaction.changes(), + ); smol::block_on(notify).expect("failed to emit textDocument/didChange"); } |