Skip to content

Commit

Permalink
Actually, Filename() here is not necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewalker committed Sep 13, 2016
1 parent 2eeff06 commit b468a43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snippets/perl.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ snippet fore
${1:expression} foreach @${2:array};
# Package
snippet package
package ${1:`vim_snippets#Filename(expand('%:p:s?.*lib/??:r:gs?/?::?'))`};
package ${1:`expand('%:p:s?.*lib/??:r:gs?/?::?')`};
use strict;
use warnings;

Expand All @@ -95,7 +95,7 @@ snippet package
__END__
# Package syntax perl >= 5.14
snippet packagev514
package ${1:`vim_snippets#Filename(expand('%:p:s?.*lib/??:r:gs?/?::?'))`} ${2:0.99};
package ${1:`expand('%:p:s?.*lib/??:r:gs?/?::?')`} ${2:0.99};
use v5.14;
use warnings;

Expand Down

0 comments on commit b468a43

Please sign in to comment.