Skip to content

Commit

Permalink
fix: added additional space between message and code
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Dec 15, 2021
1 parent dbbd523 commit aae12e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/trouble/renderer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function renderer.render_diagnostics(view, text, items)
text:render(diag.source, "Source")
end
if diag.code and diag.code ~= vim.NIL then
text:render("(" .. diag.code .. ")", "Code")
text:render(" (" .. diag.code .. ")", "Code")
end

text:render(" ")
Expand Down

0 comments on commit aae12e7

Please sign in to comment.