@@ -1222,15 +1222,14 @@ mod cmd {
1222 Ok(handle) => {
1222 Ok(handle) => {
1223 if let Err(e) = helix_lsp::block_on(handle) {
1223 if let Err(e) = helix_lsp::block_on(handle) {
1224 cx.editor.set_error(e.to_string());
1224 cx.editor.set_error(e.to_string());
1225− return;
1225+ } else {
1226+ force_quit(cx, &[], event);
1228 Err(e) => {
1229 Err(e) => {
1229 cx.editor.set_error(e.to_string());
1230 cx.editor.set_error(e.to_string());
1233− force_quit(cx, &[], event);
1236 /// Returns `true` if there are modified buffers remaining and sets editor error,
1235 /// Returns `true` if there are modified buffers remaining and sets editor error,