lsp: SyncKind::Full: we need to send the whole document on each change

pull/724/head
Blaž Hrastnik 3 years ago
parent 59ed1c8c78
commit 2793ff3832

@ -462,7 +462,7 @@ impl Client {
// range = None -> whole document
range: None, //Some(Range)
range_length: None, // u64 apparently deprecated
text: "".to_string(),
text: new_text.to_string(),
}]
}
lsp::TextDocumentSyncKind::Incremental => {

Loading…
Cancel
Save