From a0d9d6307fa05b2b70fbf98b0e3db2da2ca8d691 Mon Sep 17 00:00:00 2001 From: WEC Date: Mon, 14 Apr 2025 20:07:03 +0800 Subject: [PATCH] fix:recently edited files change ignore bug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit function shouldIgnore return promise,if dont await,nothing can set in recentlyEditedFilesCache --- core/core.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }