diff --git a/UltiSnips/rst.snippets b/UltiSnips/rst.snippets index f650318..88e0caa 100644 --- a/UltiSnips/rst.snippets +++ b/UltiSnips/rst.snippets @@ -221,14 +221,17 @@ endsnippet snippet "li(st)? (?P\d+)" "List" br $0 `!p +# usage: li 4 +# which will extand into a unordered list contains 4 items snip.rv = make_items(match.groupdict()['num']) ` endsnippet -# usage: ol 3 snippet "ol(st)? (?P\d+)" "Order List" br $0 `!p +# usage: ol 4 +# which will extand into a ordered list contains 4 items snip.rv = make_items(match.groupdict()['num'], 1) ` endsnippet