Merge branch 'master' into fix/invalid-buffer

This commit is contained in:
Alexander Courtis 2025-05-18 14:35:10 +10:00 committed by GitHub
commit fdbf2362fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -135,7 +135,7 @@ end
function Builder:format_line(indent_markers, arrows, icon, name, node)
local added_len = 0
local function add_to_end(t1, t2)
if not t2 then
if not t2 or vim.tbl_isempty(t2) then
return
end
for _, v in ipairs(t2) do