Skip to content

Commit

Permalink
fix(format): pos format. See #472
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jun 3, 2024
1 parent a0227dc commit abdfa1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/trouble/format.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ end
M.formatters = {
pos = function(ctx)
return {
text = "[" .. (ctx.item.pos[1] + 1) .. ", " .. ctx.item.pos[2] .. "]",
text = "[" .. ctx.item.pos[1] .. ", " .. (ctx.item.pos[2] + 1) .. "]",
}
end,
severity = function(ctx)
Expand Down

0 comments on commit abdfa1d

Please sign in to comment.