diff --git a/UltiSnips/rst.snippets b/UltiSnips/rst.snippets index 1eba274..c8b62e5 100644 --- a/UltiSnips/rst.snippets +++ b/UltiSnips/rst.snippets @@ -75,6 +75,7 @@ def make_items(times, leading='+'): return ("%s Item\n" % leading) * times endglobal +# usage: li 3 snippet "li(st)? (?P\d+)" "List" br $0 `!p @@ -82,6 +83,7 @@ snip.rv = make_items(match.groupdict()['num']) ` endsnippet +# usage: ol 3 snippet "ol(st)? (?P\d+)" "Order List" br $0 `!p