This commit is contained in:
Jon Noronha
2022-03-24 12:35:15 -07:00
committed by bdbch
parent 1dbd26c828
commit 0819e29e57

View File

@@ -36,7 +36,7 @@ export function findSuggestionMatch(config: Trigger): SuggestionMatch {
if (!text) { if (!text) {
return null return null
} }
const textFrom = $position.pos - text.length const textFrom = $position.pos - text.length
const match = Array.from(text.matchAll(regexp)).pop() const match = Array.from(text.matchAll(regexp)).pop()