Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-view/src/editor.rs')
-rw-r--r--helix-view/src/editor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs
index 723fb139..65976f2c 100644
--- a/helix-view/src/editor.rs
+++ b/helix-view/src/editor.rs
@@ -1410,7 +1410,7 @@ impl Editor {
continue;
};
let edit = match helix_lsp::block_on(request) {
- Ok(edit) => edit,
+ Ok(edit) => edit.unwrap_or_default(),
Err(err) => {
log::error!("invalid willRename response: {err:?}");
continue;