fix config helper hover range
parent
7f411e345b
commit
f3f1b3b259
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue