fix class list offsets (fixes hover ranges)
parent
eb28c540c3
commit
aaa9bd9f2b
|
@ -177,7 +177,7 @@ export function findClassListsInHtmlRange(
|
||||||
)
|
)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
classList: value,
|
classList: value.substr(beforeOffset, value.length + afterOffset),
|
||||||
range: {
|
range: {
|
||||||
start: {
|
start: {
|
||||||
line: range.start.line + start.line,
|
line: range.start.line + start.line,
|
||||||
|
|
Loading…
Reference in New Issue