From 699250051db16be18285bc190fa990a69dfd60cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ho=CC=88ltje?= Date: Sun, 28 Oct 2012 02:07:13 -0400 Subject: [PATCH] Added descriptions for duplicated snippet names. This is to make the snippets a little more compatible with neosnippets. --- snippets/actionscript.snippets | 2 +- snippets/ruby.snippets | 4 ++-- snippets/xslt.snippets | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/snippets/actionscript.snippets b/snippets/actionscript.snippets index 999b8a3..af9611c 100644 --- a/snippets/actionscript.snippets +++ b/snippets/actionscript.snippets @@ -107,7 +107,7 @@ snippet try ${3} } # For Loop (same as c.snippet) -snippet for +snippet for for (..) {..} for (${2:i} = 0; $2 < ${1:count}; $2${3:++}) { ${4:/* code */} } diff --git a/snippets/ruby.snippets b/snippets/ruby.snippets index 63ec178..0500aaa 100644 --- a/snippets/ruby.snippets +++ b/snippets/ruby.snippets @@ -26,7 +26,7 @@ snippet beg rescue ${1:Exception} => ${2:e} end -snippet req +snippet req require require "${1}"${2} snippet # # => @@ -575,7 +575,7 @@ snippet asre assert_response :${1:success}, @response.body${2} snippet asrj assert_rjs :${1:replace}, "${2:dom id}" -snippet ass +snippet ass assert_select(..) assert_select '${1:path}', :${2:text} => '${3:inner_html' ${4:do} snippet bf before_filter :${1:method} diff --git a/snippets/xslt.snippets b/snippets/xslt.snippets index 892e9db..e7abdf3 100644 --- a/snippets/xslt.snippets +++ b/snippets/xslt.snippets @@ -8,7 +8,7 @@ snippet apply-templates sort-by ${5} ${6} -snippet apply-templates +snippet apply-templates plain ${2} snippet attribute blank