Turn draw into constant DRAW and fix formatting
This commit is contained in:
parent
5eda85952e
commit
b3ec39a013
1 changed files with 9 additions and 10 deletions
19
lua/vim.moon
19
lua/vim.moon
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue