Skip to content

Commit

Permalink
Merge pull request #352 from Feoramund/fix-col-off-by-one-check-error
Browse files Browse the repository at this point in the history
Fix column off-by-1 error in check
  • Loading branch information
DanielGavin authored Apr 18, 2024
2 parents 81c84f9 + 1d08fd1 commit a7f4292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/check.odin
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ check :: proc(paths: []string, writer: ^Writer, config: ^common.Config) {
severity = .Error,
range = {
start = {
character = error.column,
character = error.column - 1,
line = error.line - 1,
},
end = {character = 0, line = error.line},
Expand Down

0 comments on commit a7f4292

Please sign in to comment.