Neovim::RPC::API
version 1.0.1
Exports all the api commands as functions in the current namespace.
$rpc->api->export_dsl; vim_set_current_line( "hello there!" );
If $interactive is set to true, the function will also $rpc-loop()> until the response is received from the editor. The result of the response promise will then be returned (or, if there was a problem, the error message will be warned).
$interactive
true
$rpc-
$rpc->api->export_dsl(1); vim_get_current_line->on_done( vim_set_current_line( scalar reverse shift ); );
Yanick Champoux <yanick@cpan.org>
This software is copyright (c) 2017, 2015 by Yanick Champoux.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Neovim::RPC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Neovim::RPC
CPAN shell
perl -MCPAN -e shell install Neovim::RPC
For more information on module installation, please visit the detailed CPAN module installation guide.