X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDevel-REPL.git;a=blobdiff_plain;f=lib%2FDevel%2FREPL%2FPlugin%2FCompletionDriver%2FKeywords.pm;h=decc6c8a2e4513efc1310062d7e66807e3f0a89f;hp=f9171634155a6d2ae9e68c9b75b8d0b67be9cc68;hb=6631e15ccd2313ff350fd9bfa44c1ccdbac77100;hpb=cfd1094b45c394258ccda08216f1435bf40e1d50 diff --git a/lib/Devel/REPL/Plugin/CompletionDriver/Keywords.pm b/lib/Devel/REPL/Plugin/CompletionDriver/Keywords.pm index f917163..decc6c8 100644 --- a/lib/Devel/REPL/Plugin/CompletionDriver/Keywords.pm +++ b/lib/Devel/REPL/Plugin/CompletionDriver/Keywords.pm @@ -3,6 +3,10 @@ use Devel::REPL::Plugin; use B::Keywords qw/@Functions @Barewords/; use namespace::clean -except => [ 'meta' ]; +with qw( + Devel::REPL::Plugin::Completion +); + around complete => sub { my $orig = shift; my ($self, $text, $document) = @_; @@ -32,5 +36,9 @@ __END__ Devel::REPL::Plugin::CompletionDriver::Keywords - Complete Perl keywords and operators +=head1 AUTHOR + +Shawn M Moore, C<< >> + =cut