diff --git a/lua/oil/util.lua b/lua/oil/util.lua index 6649f435..dc12d7f5 100644 --- a/lua/oil/util.lua +++ b/lua/oil/util.lua @@ -294,7 +294,8 @@ M.render_table = function(lines, col_width) for i, chunk in ipairs(cols) do local text, hl if type(chunk) == "table" then - text, hl = unpack(chunk) + text = chunk[1] + hl = chunk[2] else text = chunk end