projects
/
p5sagit/Devel-REPL.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
resolve rt.cpan#44919 fix deprecated use of compute_all_applicable_methods
[p5sagit/Devel-REPL.git]
/
lib
/
Devel
/
REPL
/
Plugin
/
CompletionDriver
/
LexEnv.pm
diff --git
a/lib/Devel/REPL/Plugin/CompletionDriver/LexEnv.pm
b/lib/Devel/REPL/Plugin/CompletionDriver/LexEnv.pm
index
747163e
..
ea05e9a
100644
(file)
--- a/
lib/Devel/REPL/Plugin/CompletionDriver/LexEnv.pm
+++ b/
lib/Devel/REPL/Plugin/CompletionDriver/LexEnv.pm
@@
-2,6
+2,11
@@
package Devel::REPL::Plugin::CompletionDriver::LexEnv;
use Devel::REPL::Plugin;
use namespace::clean -except => [ 'meta' ];
+sub BEFORE_PLUGIN {
+ my $self = shift;
+ $self->load_plugin('Completion');
+}
+
around complete => sub {
my $orig = shift;
my ($self, $text, $document) = @_;