We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f54396 commit a0f63f3Copy full SHA for a0f63f3
packages/typescript-plugin/lib/common.ts
@@ -139,7 +139,7 @@ export function getComponentSpans(
139
});
140
if (template.lang === 'html' && !node.isSelfClosing) {
141
result.push({
142
- start: start + node.loc.source.lastIndexOf(node.tag),
+ start: node.loc.start.offset + node.loc.source.lastIndexOf(node.tag),
143
length: node.tag.length,
144
145
}
0 commit comments