fix(#3124): prevent empty icons_right_align response from breaking padding
This commit is contained in:
parent
e7d1b7dadc
commit
e4cd856ebf
@ -135,7 +135,7 @@ end
|
|||||||
function Builder:format_line(indent_markers, arrows, icon, name, node)
|
function Builder:format_line(indent_markers, arrows, icon, name, node)
|
||||||
local added_len = 0
|
local added_len = 0
|
||||||
local function add_to_end(t1, t2)
|
local function add_to_end(t1, t2)
|
||||||
if not t2 then
|
if not t2 or vim.tbl_isempty(t2) then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
for _, v in ipairs(t2) do
|
for _, v in ipairs(t2) do
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user