Skip to content

Commit

Permalink
doneUi check is not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Jul 14, 2023
1 parent 77bc8d5 commit be34096
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions denops/ddu/ddu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -968,12 +968,6 @@ export class Ddu {
});

if (actionOptions.quit && visible) {
// NOTE: To quit UI properly, all items must be gathered.
if (!this.context.doneUi) {
echo(denops, "Current ddu UI is not done");
return;
}

// Quit UI before action
await this.uiQuit(denops, ui, uiOptions, uiParams);
}
Expand Down

0 comments on commit be34096

Please sign in to comment.