Turn draw into constant DRAW and fix formatting

This commit is contained in:
Talia 2018-08-15 11:00:23 +02:00
parent 5eda85952e
commit b3ec39a013

View file

@ -80,19 +80,18 @@ print vim.col {
} }
]] ]]
draw = -> DRAW = [[
for line in * { ─ │
{ "─", "│", "┼" } ┌ ┬ ┐
{ "┌", "┐", "└", "┘" } ├ ┼ ┤
{ "├", "┤", "┬", "┴" } └ ┴ ┘
{ "╼", "╽", "╾", "╾" } ╼ ╽ ╾ ╾
} ]]
print table.concat(line, " ")
{ {
:tree, :box, :draw, :tab, :col, :row :tree, :box, :tab, :col, :row
:CLASS :CLASS, :DRAW
-- Aliases -- Aliases
table: tab table: tab
} }