From 89f8fa6ba9c1fd279d0fe3af0e72b071975850a4 Mon Sep 17 00:00:00 2001 From: Bernhard Graf Date: Sun, 7 Sep 2014 14:44:32 +0200 Subject: [PATCH 1/2] Bug fix: replace space indention by tab --- snippets/perl.snippets | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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} + }; From 04b34330ee524a26b4c4aa567abb78446c0b52c1 Mon Sep 17 00:00:00 2001 From: Bernhard Graf Date: Sun, 7 Sep 2014 15:05:37 +0200 Subject: [PATCH 2/2] add snippet for until --- UltiSnips/perl.snippets | 7 +++++++ 1 file changed, 7 insertions(+) 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: