Skip to content

Commit

Permalink
fix: correct diag position (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
HaydenOrz authored Aug 31, 2023
1 parent 0f3dd60 commit 560e05b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/languageFeatures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ function toDiagnostics(resource: Uri, diag: any): editor.IMarkerData {
return {
severity: toSeverity(diag.severity),
startLineNumber: diag.startLine,
startColumn: diag.startCol,
startColumn: diag.startCol + 1,
endLineNumber: diag.endLine,
endColumn: diag.endCol,
endColumn: diag.endCol + 1,
message: diag.message,
code: code,
source: diag.source
Expand Down

0 comments on commit 560e05b

Please sign in to comment.