Skip to content

Commit

Permalink
fix: restore item indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Oct 22, 2021
1 parent ff40475 commit 7c93271
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions lua/trouble/renderer.lua
Expand Up @@ -123,15 +123,8 @@ function renderer.render_diagnostics(view, text, items)
end

local indent = " "
if config.options.padding == 1 then
indent = " "
if config.options.indent_lines then
indent = ""
end
else
if config.options.indent_lines then
indent = ""
end
if config.options.indent_lines then
indent = ""
end

local sign_hl = diag.sign_hl or ("TroubleSign" .. diag.type)
Expand Down

0 comments on commit 7c93271

Please sign in to comment.