From 0819e29e579a05a5d5688ca58e7fb2e48e100eff Mon Sep 17 00:00:00 2001 From: Jon Noronha Date: Thu, 24 Mar 2022 12:35:15 -0700 Subject: [PATCH] again --- packages/suggestion/src/findSuggestionMatch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/suggestion/src/findSuggestionMatch.ts b/packages/suggestion/src/findSuggestionMatch.ts index 68599f80..5efce367 100644 --- a/packages/suggestion/src/findSuggestionMatch.ts +++ b/packages/suggestion/src/findSuggestionMatch.ts @@ -36,7 +36,7 @@ export function findSuggestionMatch(config: Trigger): SuggestionMatch { if (!text) { return null } - + const textFrom = $position.pos - text.length const match = Array.from(text.matchAll(regexp)).pop()