lsp: SyncKind::Full: we need to send the whole document on each change
This commit is contained in:
parent
59ed1c8c78
commit
2793ff3832
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue