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

vim.uv coming up nil #27957

Closed
FedeAbella opened this issue Mar 21, 2024 · 1 comment
Closed

vim.uv coming up nil #27957

FedeAbella opened this issue Mar 21, 2024 · 1 comment
Labels
closed:invalid Issues that are closed as "invalid"

Comments

@FedeAbella
Copy link

Problem

Calling the Luv api vim.uv returns a nil value on latest stable 0.9.5:

E5108: Error executing lua [string ":lua"]:1: attempt to index field 'uv' (a nil value)
stack traceback:
        [string ":lua"]:1: in main chunk

Steps to reproduce

  • Extract latest stable 0.9.5 from tarball
    nvim --clean
    :lua vim.uv.version()

Expected behavior

vim.uv is exposed and api methods can be called

Neovim version (nvim -v)

NVIM v0.9.5 Build type: Release LuaJIT 2.1.1692716794 system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/__w/neovim/neovim/build/nvim.AppDir/usr/share/nvim" Run :checkhealth for more info

Vim (not Nvim) behaves the same?

N/A

Operating system/version

Ubuntu 23.10

Terminal name/version

alacritty 0.12.2

$TERM environment variable

xterm-256color

Installation

tarball from repo

@FedeAbella FedeAbella added the bug issues reporting wrong behavior label Mar 21, 2024
@seandewar
Copy link
Member

0.10 is needed for vim.uv. For 0.9 and older, use vim.loop.

@seandewar seandewar closed this as not planned Won't fix, can't repro, duplicate, stale Mar 21, 2024
@seandewar seandewar added closed:invalid Issues that are closed as "invalid" and removed bug issues reporting wrong behavior labels Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed:invalid Issues that are closed as "invalid"
Projects
None yet
Development

No branches or pull requests

2 participants