neodev.nvim icon indicating copy to clipboard operation
neodev.nvim copied to clipboard

vim.loop.spawn missing second return value

Open beardedsakimonkey opened this issue 2 years ago • 1 comments

Hi, thanks for this plugin!

It seems the second return value for vim.loop.spawn is not properly annotated: https://github.com/folke/neodev.nvim/blob/2d5a374b2c0d6d3521a2c49541c9c195b0646be6/types/stable/luv.lua#L2543

It should be integer.

Thanks in advance

beardedsakimonkey avatar Nov 30 '22 00:11 beardedsakimonkey

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

wookayin avatar Jan 22 '24 18:01 wookayin