Skip to content

Commit

Permalink
Use await for expandItems
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed May 10, 2024
1 parent a4d4697 commit 61e3193
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions denops/ddu/_mod.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// NOTE: It is dummy module.
export const mods = {};
2 changes: 1 addition & 1 deletion denops/ddu/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ export function main(denops: Denops) {
if (mode === "collapse") {
await ddu.collapseItems(denops, items.map((item) => item.item));
} else if (mode === "expand") {
ddu.expandItems(denops, items);
await ddu.expandItems(denops, items);
}
},
async updateOptions(arg1: unknown, arg2: unknown): Promise<void> {
Expand Down

0 comments on commit 61e3193

Please sign in to comment.