fix class list offsets (fixes hover ranges)

master
Brad Cornes 2020-06-16 11:24:35 +01:00
parent eb28c540c3
commit aaa9bd9f2b
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ export function findClassListsInHtmlRange(
)
return {
classList: value,
classList: value.substr(beforeOffset, value.length + afterOffset),
range: {
start: {
line: range.start.line + start.line,