nvim: add asciidoc table snippet
This commit is contained in:
parent
2ace21d1f6
commit
e15c26421a
@ -46,4 +46,22 @@ ________________________________________________________________________________
|
||||
title = i(1, 'title'),
|
||||
cursor = i(0)
|
||||
})),
|
||||
|
||||
s({ trig = 'table',
|
||||
name = 'table',
|
||||
descr = 'insert a table'
|
||||
},
|
||||
fmt([[
|
||||
.{title}
|
||||
|===============================================================================
|
||||
| {header1} | {header2}
|
||||
|
||||
| {cursor}
|
||||
|===============================================================================
|
||||
]] , {
|
||||
title = i(1, 'title'),
|
||||
header1 = i(2, 'header 1'),
|
||||
header2 = i(3, 'header 2'),
|
||||
cursor = i(0)
|
||||
})),
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user