on master help sign in
lsp: SyncKind::Full: we need to send the whole document on each change
commit2793ff383228403b1ebaf2a29c870a13ee76075a authorBlaž Hrastnik <blaz@mxxn.io> dateThu 2 Sep 2021, 13:52 (5 years ago) parent59ed1c8
1 file changed+1−1
helix-lsp/src/client.rs+1−1
helix-lsp/src/client.rs+1−1
@@ -462,7 +462,7 @@ impl Client {
462462 // range = None -> whole document
463463 range: None, //Some(Range)
464464 range_length: None, // u64 apparently deprecated
465− text: "".to_string(),
465+ text: new_text.to_string(),
466466 }]
467467 }
468468 lsp::TextDocumentSyncKind::Incremental => {