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 = ->
|
||||
for line in * {
|
||||
{ "─", "│", "┼" }
|
||||
{ "┌", "┐", "└", "┘" }
|
||||
{ "├", "┤", "┬", "┴" }
|
||||
{ "╼", "╽", "╾", "╾" }
|
||||
}
|
||||
print table.concat(line, " ")
|
||||
DRAW = [[
|
||||
─ │
|
||||
┌ ┬ ┐
|
||||
├ ┼ ┤
|
||||
└ ┴ ┘
|
||||
╼ ╽ ╾ ╾
|
||||
]]
|
||||
|
||||
|
||||
{
|
||||
:tree, :box, :draw, :tab, :col, :row
|
||||
:CLASS
|
||||
:tree, :box, :tab, :col, :row
|
||||
:CLASS, :DRAW
|
||||
-- Aliases
|
||||
table: tab
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue