You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues of neodev.nvim
I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
v0.10.0-dev-2483+g6ab0876f5-Homebrew
Operating system/version
macOS 14.3.1
Describe the bug
The change in b354c38 for #175 (which is great BTW) causes warnings from lua_ls due to the fact that there are no types / functions / members exposed for libuv via vim.uv.* from the Neovim source:
The correct thing to do here is to expose those from Neovim, but I'm wondering if A) there's a shorter term fix you can make here, or B) You happen to have a PR for Neovim already in progress that I'm not aware of. I did search open PRs and issues over there though and didn't see anything.
Steps To Reproduce
Use any vim.uv.* method with lua_ls diagnostics turned on.
Expected Behavior
Member fields and types are properly accounted for.
Repro
-- DO NOT change the paths and don't remove the colorschemelocalroot=vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .reprofor_, nameinipairs({ "config", "data", "state", "cache" }) dovim.env[("XDG_%s_HOME"):format(name:upper())] =root.."/" ..nameend-- bootstrap lazylocallazypath=root.."/plugins/lazy.nvim"ifnotvim.loop.fs_stat(lazypath) thenvim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
endvim.opt.runtimepath:prepend(lazypath)
-- install pluginslocalplugins= {
"folke/tokyonight.nvim",
"folke/neodev.nvim",
-- add any other plugins here
}
require("lazy").setup(plugins, {
root=root.."/plugins",
})
vim.cmd.colorscheme("tokyonight")
-- add anything else hereifvim.us.fs_access("init.lua", "R") thenvim.notify("Foo")
end
The text was updated successfully, but these errors were encountered:
Did you check docs and existing issues?
Neovim version (nvim -v)
v0.10.0-dev-2483+g6ab0876f5-Homebrew
Operating system/version
macOS 14.3.1
Describe the bug
The change in b354c38 for #175 (which is great BTW) causes warnings from
lua_ls
due to the fact that there are no types / functions / members exposed forlibuv
viavim.uv.*
from the Neovim source:The correct thing to do here is to expose those from Neovim, but I'm wondering if A) there's a shorter term fix you can make here, or B) You happen to have a PR for Neovim already in progress that I'm not aware of. I did search open PRs and issues over there though and didn't see anything.
Steps To Reproduce
Use any
vim.uv.*
method withlua_ls
diagnostics turned on.Expected Behavior
Member fields and types are properly accounted for.
Repro
The text was updated successfully, but these errors were encountered: