diff --git a/UltiSnips/perl.snippets b/UltiSnips/perl.snippets index abaae3f..67c7f27 100644 --- a/UltiSnips/perl.snippets +++ b/UltiSnips/perl.snippets @@ -129,4 +129,11 @@ while ($1) { endsnippet +snippet until "until" +until ($1) { + ${2:# body...} +} + +endsnippet + # vim:ft=snippets: diff --git a/snippets/perl.snippets b/snippets/perl.snippets index 6e0cacb..65120a2 100644 --- a/snippets/perl.snippets +++ b/snippets/perl.snippets @@ -350,10 +350,10 @@ snippet debug_trace }; snippet dump - use Data::Dump qw(dump); - warn dump ${1:variable} + use Data::Dump qw(dump); + warn dump ${1:variable} snippet subtest - subtest '${1: test_name}' => sub { - ${2} - }; + subtest '${1: test_name}' => sub { + ${2} + };