Add line function that prints a line of given length
This commit is contained in:
parent
b3ec39a013
commit
2019502368
1 changed files with 3 additions and 1 deletions
|
@ -68,6 +68,8 @@ col = (col) -> tab([{elem} for elem in *col])
|
|||
row = (row) -> tab{row}
|
||||
box = (box) -> tab{{box}}
|
||||
|
||||
line = (len=80) -> print string.rep('─', len)
|
||||
|
||||
CLASS = [[
|
||||
print vim.col {
|
||||
'Class' -- Title
|
||||
|
@ -90,7 +92,7 @@ DRAW = [[
|
|||
|
||||
|
||||
{
|
||||
:tree, :box, :tab, :col, :row
|
||||
:tree, :box, :tab, :col, :row, :line
|
||||
:CLASS, :DRAW
|
||||
-- Aliases
|
||||
table: tab
|
||||
|
|
Loading…
Reference in a new issue