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

pull/724/head
Blaž Hrastnik 2021-09-02 13:52:12 +09:00
parent 59ed1c8c78
commit 2793ff3832
1 changed files with 1 additions and 1 deletions

View File

@ -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 => {