as per "Contributing Notes" from honza..removing folding markers

This commit is contained in:
William Travis Holton 2011-08-29 08:52:36 +02:00
parent 0c062c9ff8
commit ee1972556c
3 changed files with 14 additions and 14 deletions

View File

@ -30,9 +30,9 @@ snippet asub
# Begin block # Begin block
snippet begin snippet begin
BEGIN { #{{{ BEGIN {
${1:# begin body} ${1:# begin body}
} #}}} }
# call package function with some parameter # call package function with some parameter
snippet pkgmv snippet pkgmv
@ -62,16 +62,16 @@ snippet qr/
#given #given
snippet given snippet given
given ($${1:var}) { #{{{ given ($${1:var}) {
${2:# cases} ${2:# cases}
${3:# default} ${3:# default}
} #}}} }
# switch-like case # switch-like case
snippet when snippet when
when (${1:case}) { #{{{ when (${1:case}) {
${2:# body} ${2:# body}
} #}}} }
# hash slice # hash slice
snippet hslice snippet hslice

View File

@ -29,20 +29,20 @@ snippet moosecl
# has # has
snippet has snippet has
has ${1:attribute} => ( #{{{ has ${1:attribute} => (
is => '${2:ro|rw}', is => '${2:ro|rw}',
isa => '${3:Str|Int|HashRef|ArrayRef|etc}', isa => '${3:Str|Int|HashRef|ArrayRef|etc}',
default => ${4:defaultvalue} default => ${4:defaultvalue}
,${5:# other attributes} ,${5:# other attributes}
); #}}} );
# override # override
snippet override snippet override
override ${1:attribute} => sub { #{{{ override ${1:attribute} => sub {
${2:# my $self = shift;}; ${2:# my $self = shift;};
${3:# my ($self,$args) = @_;}; ${3:# my ($self,$args) = @_;};
}; #}}} };

View File

@ -21,16 +21,16 @@ snippet trunner
#testclass #testclass
snippet tsub snippet tsub
sub t${1:number}_${2:test_case} :Test(${3:num_of_tests}) { #{{{ sub t${1:number}_${2:test_case} :Test(${3:num_of_tests}) {
my $self = shift; my $self = shift;
${4:# body} ${4:# body}
} #}}} }
#prep test method #prep test method
snippet tprep snippet tprep
sub prep${1:number}_${2:test_case} :Test(startup) { #{{{ sub prep${1:number}_${2:test_case} :Test(startup) {
my $self = shift; my $self = shift;
${4:# body} ${4:# body}
} #}}} }