Skip to content

Commit fdbf236

Browse files
authored
Merge branch 'master' into fix/invalid-buffer
2 parents d87dc22 + e4cd856 commit fdbf236

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/nvim-tree/renderer/builder.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ end
135135
function Builder:format_line(indent_markers, arrows, icon, name, node)
136136
local added_len = 0
137137
local function add_to_end(t1, t2)
138-
if not t2 then
138+
if not t2 or vim.tbl_isempty(t2) then
139139
return
140140
end
141141
for _, v in ipairs(t2) do

0 commit comments

Comments
 (0)