Commit | Line | Data |
b605fe37 |
1 | package Devel::REPL::Profile::Default; |
2 | |
3 | use Moose; |
aa8b7647 |
4 | use namespace::autoclean; |
b605fe37 |
5 | |
6 | with 'Devel::REPL::Profile'; |
7 | |
8 | sub plugins { qw( |
9 | Colors |
10 | Completion |
11 | CompletionDriver::INC |
12 | CompletionDriver::LexEnv |
13 | CompletionDriver::Keywords |
14 | CompletionDriver::Methods |
15 | History |
16 | LexEnv |
17 | DDS |
18 | Packages |
19 | Commands |
20 | MultiLine::PPI |
21 | ReadLineHistory |
22 | );} |
23 | |
24 | sub apply_profile { |
25 | my ($self, $repl) = @_; |
26 | $repl->load_plugin($_) for $self->plugins; |
27 | } |
28 | |
29 | 1; |