diff --git a/core/core.ts b/core/core.ts index 68aa605ac..14c45727c 100644 --- a/core/core.ts +++ b/core/core.ts @@ -642,7 +642,7 @@ export class Core { on("didChangeActiveTextEditor", async ({ data: { filepath } }) => { try { - const ignore = shouldIgnore(filepath, this.ide); + const ignore = await shouldIgnore(filepath, this.ide); if (!ignore) { recentlyEditedFilesCache.set(filepath, filepath); }