1
0
Fork 0

nvim: add asciidoc table snippet

This commit is contained in:
tastytea 2022-12-23 10:13:39 +01:00
parent 2ace21d1f6
commit e15c26421a
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 18 additions and 0 deletions

View File

@ -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)
})),
}