From 92eb5c6363ef929477fc4b3c5ae7292c6b98da4d Mon Sep 17 00:00:00 2001 From: Meng Zhuo Date: Wed, 26 Jun 2013 13:57:08 +0800 Subject: [PATCH] CMT update li comment --- UltiSnips/rst.snippets | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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