Skip to content

Commit

Permalink
Improve redraw
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Jul 5, 2024
1 parent 6b9ef63 commit e74e037
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions denops/ddu/ddu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export class Ddu {
this.#context.path = prevContext.path;
this.#context.maxItems = prevContext.maxItems;

const [ui, uiOptions, uiParams] = await getUi(
const [ui, uiOptions, _] = await getUi(
denops,
this.#loader,
this.#options,
Expand Down Expand Up @@ -183,15 +183,9 @@ export class Ddu {
// UI Redraw only
// NOTE: Enable done to redraw UI properly
this.#context.done = true;
await uiRedraw(
await this.uiRedraw(
denops,
this.#uiRedrawLock,
this.#context,
this.#options,
ui,
uiOptions,
uiParams,
this.#aborter.signal,
{ signal: this.#aborter.signal },
);
this.#context.doneUi = true;
return;
Expand Down

0 comments on commit e74e037

Please sign in to comment.