Coder Social home page Coder Social logo

p5-neovim-ext's People

Contributors

jacquesg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

p5-neovim-ext's Issues

error: Base class package "Class::Accessor" is empty

this is on macos 12.4

> perl -W -MNeovim::Ext -e ''
Base class package "Class::Accessor" is empty.
    (Perhaps you need to 'use' the module which defines that package first,
    or make that module available in @INC (@INC contains: /Users/dcavanagh1/perl5/lib/perl5/darwin-thread-multi-2level /Users/dcavanagh1/perl5/lib/perl5 /usr/local/Cellar/perl/5.34.0/lib/perl5/site_perl/5.34.0/darwin-thread-multi-2level /usr/local/Cellar/perl/5.34.0/lib/perl5/site_perl/5.34.0 /usr/local/Cellar/perl/5.34.0/lib/perl5/5.34.0/darwin-thread-multi-2level /usr/local/Cellar/perl/5.34.0/lib/perl5/5.34.0 /usr/local/lib/perl5/site_perl/5.34.0).
 at /Users/dcavanagh1/perl5/lib/perl5/Neovim/Ext.pm line 5.
BEGIN failed--compilation aborted at /Users/dcavanagh1/perl5/lib/perl5/Neovim/Ext.pm line 5.
Compilation failed in require.
BEGIN failed--compilation aborted.

yet...

> cpanm Class::Accessor
Class::Accessor is up to date. (0.51)

any ideas?

$NVIM_LISTEN_ADDRESS will be removed

I don't see $NVIM_LISTEN_ADDRESS being used in this repo but just a heads up.

neovim/neovim#11009 (Nvim 0.8+) will change Nvim so that $NVIM_LISTEN_ADDRESS is not passed to child processes. After that, the correct way to detect a "host" or "parent" Nvim is to check for $NVIM env var: this means the current process is a child of Nvim.

The old $NVIM_LISTEN_ADDRESS env var had conflicting purposes as both a parameter ("the current process should listen on this address") and a descriptor ("the current process is a child of this address").

Related change in Nvim node-client: neovim/node-client#195

Any recommendations how to make it work?

:checkhealth in Neovim 0.5.0 shows me that everything is fine with Perl integration:

## Perl provider (optional)
  - INFO: perl executable: /nix/store/xwqsqp6clmd6z9l91ajqzd57qqlkp2gl-perl-for-neovim/bin/perl
  - OK: Latest "Neovim::Ext" cpan module is installed: 0.05

But when I type :perl whatever or :perldo whatever or :perlfile whatever nothing happens, no errors reported. Any thoughts why? It doesn’t matter what the arguments are. I could type something correct like :perl print "hi" or :perl VIM::Msg("hi"), no effect. 🤷

Feature Request: RPC methods for legacy perl interface

neovim/neovim#11703 allows Neovim to run perl plugins via this perl module but this module is missing the RPC methods required for if_perl interface. neovim has all the pieces required to run :perl on its end so I need only the RPC methods (ie. perl_execute) from this module on a session (perl-client), a host (perl-rplugin-host), or a "backend" plugin for some host like the ruby provider. I can handle the rest.

Examples from other providers:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.