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