Skip to content

Commit

Permalink
Merge pull request #98 from jeronimoek/fix-selection-translation-jero…
Browse files Browse the repository at this point in the history
…nimoe

fix: selection translation doesn't work
  • Loading branch information
jeronimoek authored Dec 2, 2023
2 parents 1a348f5 + 87192b5 commit 747fb68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/getMatches.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ export async function getMatches(
variables.length &&
currentTextDocument.offsetAt(
variables[variables.length - 1].selectionRange.end
) < startIndex
) <
offset + startIndex
) {
variables.pop();
}
Expand Down

0 comments on commit 747fb68

Please sign in to comment.