Skip to content

Commit

Permalink
fix: fix misalignment
Browse files Browse the repository at this point in the history
  • Loading branch information
rachartier committed Jul 13, 2024
1 parent 2d7a30f commit 8f1708e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/tiny-inline-diagnostic/diagnostic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ local function get_body_from_chunk(
}

if not need_to_be_under then
table.insert(chunk_virtual_texts, 1, { string.rep(" ", #opts.signs.arrow), diag_inv_hi })
table.insert(chunk_virtual_texts, 1, { string.rep(" ", #opts.signs.arrow - 1), diag_inv_hi })
else
table.insert(chunk_virtual_texts, 1, { " ", diag_inv_hi })
end
Expand Down

0 comments on commit 8f1708e

Please sign in to comment.