Skip to content

Commit aaa9bd9

Browse files
committed
fix class list offsets (fixes hover ranges)
1 parent eb28c54 commit aaa9bd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lsp/util/find.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export function findClassListsInHtmlRange(
177177
)
178178

179179
return {
180-
classList: value,
180+
classList: value.substr(beforeOffset, value.length + afterOffset),
181181
range: {
182182
start: {
183183
line: range.start.line + start.line,

0 commit comments

Comments
 (0)