CMT update li comment
This commit is contained in:
parent
9ab873b6ea
commit
92eb5c6363
@ -221,14 +221,17 @@ endsnippet
|
|||||||
snippet "li(st)? (?P<num>\d+)" "List" br
|
snippet "li(st)? (?P<num>\d+)" "List" br
|
||||||
$0
|
$0
|
||||||
`!p
|
`!p
|
||||||
|
# usage: li 4<tab>
|
||||||
|
# which will extand into a unordered list contains 4 items
|
||||||
snip.rv = make_items(match.groupdict()['num'])
|
snip.rv = make_items(match.groupdict()['num'])
|
||||||
`
|
`
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
# usage: ol 3<tab>
|
|
||||||
snippet "ol(st)? (?P<num>\d+)" "Order List" br
|
snippet "ol(st)? (?P<num>\d+)" "Order List" br
|
||||||
$0
|
$0
|
||||||
`!p
|
`!p
|
||||||
|
# usage: ol 4<tab>
|
||||||
|
# which will extand into a ordered list contains 4 items
|
||||||
snip.rv = make_items(match.groupdict()['num'], 1)
|
snip.rv = make_items(match.groupdict()['num'], 1)
|
||||||
`
|
`
|
||||||
endsnippet
|
endsnippet
|
||||||
|
Loading…
Reference in New Issue
Block a user