fix error message for when DidChangeTextDocument path doesn't exist
This commit is contained in:
parent
796bfccac4
commit
1fd153a24e
@ -660,7 +660,7 @@ fn on_notification(&mut self, not: Notification) -> Result<()> {
|
||||
doc.version = params.text_document.version;
|
||||
}
|
||||
None => {
|
||||
tracing::error!("expected DidChangeTextDocument: {}", path);
|
||||
tracing::error!("unexpected DidChangeTextDocument: {}; send DidOpenTextDocument first", path);
|
||||
return Ok(());
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user