projects
/
p5sagit/Devel-REPL.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
r79775@onn: sartak | 2009-02-06 15:56:59 -0500
[p5sagit/Devel-REPL.git]
/
lib
/
Devel
/
REPL
/
Plugin
/
CompletionDriver
/
Keywords.pm
diff --git
a/lib/Devel/REPL/Plugin/CompletionDriver/Keywords.pm
b/lib/Devel/REPL/Plugin/CompletionDriver/Keywords.pm
index
83c191b
..
1178e8f
100644
(file)
--- a/
lib/Devel/REPL/Plugin/CompletionDriver/Keywords.pm
+++ b/
lib/Devel/REPL/Plugin/CompletionDriver/Keywords.pm
@@
-3,6
+3,11
@@
use Devel::REPL::Plugin;
use B::Keywords qw/@Functions @Barewords/;
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) = @_;