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.loop.spawn missing second return value #93

Open
beardedsakimonkey opened this issue Nov 30, 2022 · 1 comment
Open

vim.loop.spawn missing second return value #93

beardedsakimonkey opened this issue Nov 30, 2022 · 1 comment

Comments

@beardedsakimonkey
Copy link

Hi, thanks for this plugin!

It seems the second return value for vim.loop.spawn is not properly annotated:

--- @return vim.loop.Process

It should be integer.

Thanks in advance

@wookayin
Copy link

wookayin commented Jan 22, 2024

No, integer|string is correct; it can return an error message.

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

2 participants