From dd332575eb837026652d5c8f0f0f8144a7282e93 Mon Sep 17 00:00:00 2001 From: N1ebieski Date: Tue, 8 Jul 2025 21:08:00 +0000 Subject: [PATCH] Fix bug with unnecessary autocompletion blade components when name doesn't match Fixes N1ebieski/vs-code-extension#47 --- src/features/bladeComponent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/bladeComponent.ts b/src/features/bladeComponent.ts index cefe279a..226cbb4a 100644 --- a/src/features/bladeComponent.ts +++ b/src/features/bladeComponent.ts @@ -73,7 +73,7 @@ export const completionProvider: vscode.CompletionItemProvider = { pos.character, ); - return linePrefix !== prefix; + return linePrefix === prefix; }); if (!match) {