X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDevel%2FREPL%2FPlugin%2FCompletionDriver%2FLexEnv.pm;h=ea05e9ae1e918839dbea43b0162a88724f789d2b;hb=86f22c23273d4dfa82e5ec216962aeaea896dc65;hp=cd3ba0be8f5d42fd2c07e719255365404edb9520;hpb=6631e15ccd2313ff350fd9bfa44c1ccdbac77100;p=p5sagit%2FDevel-REPL.git diff --git a/lib/Devel/REPL/Plugin/CompletionDriver/LexEnv.pm b/lib/Devel/REPL/Plugin/CompletionDriver/LexEnv.pm index cd3ba0b..ea05e9a 100644 --- a/lib/Devel/REPL/Plugin/CompletionDriver/LexEnv.pm +++ b/lib/Devel/REPL/Plugin/CompletionDriver/LexEnv.pm @@ -2,10 +2,10 @@ package Devel::REPL::Plugin::CompletionDriver::LexEnv; use Devel::REPL::Plugin; use namespace::clean -except => [ 'meta' ]; -with qw( - Devel::REPL::Plugin::Completion - Devel::REPL::Plugin::LexEnv -); +sub BEFORE_PLUGIN { + my $self = shift; + $self->load_plugin('Completion'); +} around complete => sub { my $orig = shift;