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 434515a commit 57826dbCopy full SHA for 57826db
src/parsers/ParsingError.ts
@@ -77,7 +77,7 @@ export class ParsingValidationError extends MetaBindError {
77
return '';
78
}
79
80
- const spacing = ' '.repeat(this.position.from.column + offset);
+ const spacing = ' '.repeat(this.position.from.column + offset - 1);
81
// highlight to the end if the end is on the same line. If the end is on a different line, highlight to the end of the line.
82
const toIndex = this.position.to.line === this.position.from.line ? this.position.to.column : lineLength;
83
const underline = '^'.repeat(toIndex - this.position.from.column);
0 commit comments