Skip to content

Commit

Permalink
Fix source initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed May 26, 2022
1 parent 9b64428 commit 7e7a6ae
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions denops/ddu/ddu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ export class Ddu {
userSource,
source,
);

await this.initSource(
denops,
source,
Expand Down Expand Up @@ -181,7 +180,7 @@ export class Ddu {
source,
);

await this.gatherItems(
this.gatherItems(
denops,
index,
source,
Expand All @@ -202,10 +201,7 @@ export class Ddu {
sourceOptions: SourceOptions,
sourceParams: Params,
): Promise<void> {
if (source.isInitialized) {
return;
}

source.isInitialized = false;
await source.onInit({
denops,
sourceOptions,
Expand Down

0 comments on commit 7e7a6ae

Please sign in to comment.