fix config helper hover range

master
Brad Cornes 2020-04-28 21:19:28 +01:00
parent 7f411e345b
commit f3f1b3b259
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ function provideCssHelperHover(
if (match === null) return null if (match === null) return null
const startChar = match.index + 7 const startChar = match.index + match.groups.helper.length + 2
const endChar = startChar + match.groups.key.length const endChar = startChar + match.groups.key.length
if (position.character < startChar || position.character >= endChar) { if (position.character < startChar || position.character >= endChar) {