-
Notifications
You must be signed in to change notification settings - Fork 57
bug: vim.iter is not found after https://github.com/neovim/neovim/pull/23303 #153
Comments
@folke any updates on this? |
Thank you for reporting! Just fixed this |
There may be others missing as well, so feel free to submit a PR to update those :) |
Is it possible to get completion when calling With the fix provided, it only completes |
Just changed it a bit. Should work now. |
will actually still be wrong. Needs to be fixed in neovim with an |
neovim/neovim#23845 should fix it Thanks for the hint on how to fix it! |
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.10.0-dev-216+g4720f4379
Operating system/version
MacOS 13.1
Describe the bug
It won't complete methods on
vim.iter
after this PR: neovim/neovim#23303Before this, it would work correctly. Probably because it is a module now as well as a function. I also noticed that
vim.version
also don't work which is the example in the PR of another module and function.Steps To Reproduce
Use the repro-config and open a file lua file and try to get completion for
vim.iter
orvim.version
.Expected Behavior
I would expect it to complete all the functions on
vim.iter
. Both the functionsvim.iter.filter
,vim.iter.map
and all the othersvim.iter({ 1, 2, 3 }):each(...)
etc...Repro
The text was updated successfully, but these errors were encountered: