Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvim_echo is nil value #6

Closed
hash-bang opened this issue Jun 15, 2021 · 2 comments
Closed

nvim_echo is nil value #6

hash-bang opened this issue Jun 15, 2021 · 2 comments

Comments

@hash-bang
Copy link

I'm getting:

E5108: Error executing lua /home/mc/.vim/plugged/lightspeed.nvim/lua/lightspeed.lua:35: attempt to call field 'nvim_echo' (a nil value) when I try hitting s after installing via Plug.

I've pulled the very latest Neovim nightly (Ubuntu) on two different machines:

> apt policy neovim
neovim:
  Installed: 0.5.0+ubuntu2+git202106150022-b28d458f8-d569569c9-e70091b15~ubuntu18.04.1
  Candidate: 0.5.0+ubuntu2+git202106150022-b28d458f8-d569569c9-e70091b15~ubuntu18.04.1
  Version table:
 *** 0.5.0+ubuntu2+git202106150022-b28d458f8-d569569c9-e70091b15~ubuntu18.04.1 500
        500 http://ppa.launchpad.net/neovim-ppa/unstable/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status
     0.4.4-1~ubuntu18.04.1~ppa1 500
        500 http://ppa.launchpad.net/neovim-ppa/stable/ubuntu bionic/main amd64 Packages
     0.2.2-3 500
        500 http://au.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages

I've also tried a minimal vimrc file with only this Plug install and nothing else - same error.

This looks like a Neovim / Lua API problem - It was my understanding that Lua was now bundled with Neovim. Is there some way to check I have a compatible version of Lua compiled into Neovim correctly?

@hash-bang
Copy link
Author

Update - this does seem to work with the nightly AppImage for some reason but not the nightly PPA.

Problem is probably on the NeoVim distribution rather than this plugin.

@hash-bang
Copy link
Author

Alright, after more investigation it looks like the Ubuntu PPA is waaaay behind the actual source build.

Closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant