Skip to content

Commit

Permalink
again
Browse files Browse the repository at this point in the history
  • Loading branch information
thatsjonsense committed Mar 24, 2022
1 parent 13f0b29 commit fadf440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/suggestion/src/findSuggestionMatch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit fadf440

Please sign in to comment.