The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Neovim::Ext::Plugin - Neovim Plugin class

VERSION

version 0.03

SYNOPSIS

        use Neovim::Ext;

METHODS

new( $nvim )

Create a new plugin instance.

register( )

Register the plugin. This should be called as soon as possible.

nvim_command( )

Subroutine attribute to export a subroutine as a Vim command.

nvim_autocmd( )

Subroutine attribute to export a subroutine as a Vim autocmd.

nvim_function( )

Subroutine attribute to export a subroutine as a Vim function.

nvim_rpc_export( )

Subroutine attribute to export a subroutine as an RPC export.

nvim_shutdown_hook( )

Subroutine attribute to export a subroutine as a shutdown hook.

get_commands( )

Get all exported commands for the plugin.

get_functions( )

Get all exported functions for the plugin.

get_autocmds( )

Get all exported autocmds for the plugin.

get_shutdown_hooks( )

Get all shutdown hooks for the plugin.

get_rpc_exports( )

Get all the RPC exports for the plugin.

get_specs( )

Get all specs for the plugin.