@@ -1222,15 +1222,14 @@ mod cmd {
12221222 Ok(handle) => {
12231223 if let Err(e) = helix_lsp::block_on(handle) {
12241224 cx.editor.set_error(e.to_string());
1225− return;
1225+ } else {
1226+ force_quit(cx, &[], event);
12261227 }
12271228 }
12281229 Err(e) => {
12291230 cx.editor.set_error(e.to_string());
1230− return;
12311231 }
1232− };
1233− force_quit(cx, &[], event);
1232+ }
12341233 }
12351234
12361235 /// Returns `true` if there are modified buffers remaining and sets editor error,