feat: add more bugs

This commit is contained in:
JuanZoran
2023-01-09 23:49:16 +08:00
parent ff36cfd549
commit 671e3cc7e7
4 changed files with 36 additions and 12 deletions

View File

@ -38,6 +38,7 @@ function M:insert(items)
indent = items.indent,
highlight = items.highlight,
}
local highlight = {}

View File

@ -0,0 +1,20 @@
local M = {}
M.__index = M
M.len = 0
function M:new()
local items = {}
setmetatable(items, self)
return items
end
function M:insert(item, highlight)
table.insert(self, item)
self.len = self.len + #item
end
function M:format(win_width)
end
return M