mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 17:36:19 +04:00
lsp: SyncKind::Full: we need to send the whole document on each change
This commit is contained in:
parent
59ed1c8c78
commit
2793ff3832
@ -462,7 +462,7 @@ pub fn text_document_did_change(
|
||||
// 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…
Reference in New Issue
Block a user