Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
perl omnicompletion for vim (including base class function compleltions .. etc)
VimL Perl
branch: comp-rule-exte…

This branch is 164 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
ftplugin/perl
plugin
test-case
utils
META
Makefile
README.mkd
README.mkd.old
TODO
config.mk

README.mkd

Screenshot

Install

just run make:

$ make install

and add ~/.vim/bin/ to your $PATH env variable , for example, add these lines to your .bashrc or .zshrc:

export PATH=~/.vim/bin:$PATH

please make sure you've enable filetype plugin your .vimrc:

filetype on
filetype plugin on
filetype indent on

Usage

C-x C-o to emit omnicompletion.

Samples

# complete class methods
Jifty::DBI::Record->

# complete built-in function
seekdir


# complete current object methods
sub testtest { }
sub foo1 { }
sub foo2 { }

$self->


# smart object method completion
my $var = new Jifty;
$var->


# smart object method completion 2
my $var = Jifty::DBI->new;
$var->


# complete variable
$var1 $var2 $var3 $var_test $var__adfasdf
$var__adfasdf


# moose complete

has url => (
    metaclass => 'Labeled',
    is        => 'wo',
    isa       => 'HashRef',
    label     => "The site's URL",
);

# role

with 'Restartable' => {
    -alias => {
        stop  => '_stop',
        start => '_start'
    },
    -excludes => [ 'stop', 'start' ],
};
Something went wrong with that request. Please try again.