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 04499f9 commit 89ebffcCopy full SHA for 89ebffc
packages/language-server/src/lib/documents/DocumentMapper.ts
@@ -84,7 +84,7 @@ export class FragmentMapper implements DocumentMapper {
84
85
getGeneratedPosition(originalPosition: Position): Position {
86
const fragmentOffset = offsetAt(originalPosition, this.originalText) - this.tagInfo.start;
87
- return positionAt(fragmentOffset, this.originalText);
+ return positionAt(fragmentOffset, this.tagInfo.content);
88
}
89
90
isInGenerated(pos: Position): boolean {
0 commit comments