diff --git a/Snippets/Method.tmSnippet b/Snippets/Method.tmSnippet new file mode 100644 index 0000000..1937852 --- /dev/null +++ b/Snippets/Method.tmSnippet @@ -0,0 +1,22 @@ + + + + + content + sub ${1:function_name} { + my (\$self${2:}) = @_; + ${3:# body...} +} + + disableAutoIndent + + name + Method + scope + source.perl + tabTrigger + meth + uuid + 76F6C52A-3C5B-40C7-AD15-231DC97A0023 + + diff --git a/Snippets/has.tmSnippet b/Snippets/has.tmSnippet new file mode 100644 index 0000000..5771b16 --- /dev/null +++ b/Snippets/has.tmSnippet @@ -0,0 +1,22 @@ + + + + + content + has ${1:name} => ( + is => '${2:ro}', + isa => '${3:type}', +); + + disableAutoIndent + + name + has + scope + source.perl + tabTrigger + has + uuid + 8EC3DA9E-9CDA-4D4B-B609-80D669B5D782 + +