Skip to content

Commit

Permalink
Fix column off-by-1 error in check
Browse files Browse the repository at this point in the history
  • Loading branch information
Feoramund committed Apr 16, 2024
1 parent 93e92be commit 1d08fd1
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 1d08fd1

Please sign in to comment.