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
Yes I've specifically developed this package for neovim.
If you could come up with a setup & working changes to make these packages run on any lua environment(while it doesnt error out in neovim environment like other alternative promise libraries in lua), I'd be happy to review & merge your pull request!
Ideally I'd like it to be tried in a single PR first, because personally it is out of the scope of my goals when I built these packages. However I'm willing to maintain it given we have a good initial setup that is fully tested and working.
I understand this was made for neovim, but the dependency on neovim seems rather small.
As far as I can see, most vim.* functions could be implemented in pure Lua with the exception of vim.wait, vim.schedule, vim.defer_fn and some others.
I'd like to have the ability to have the latter core functions supplied in a library setup function and the rest be implemented in normal lua.
For example
could be rewritten as
You could roll your own vim.isarray function and put it in your List util module.
vim.schedule and others could be put in a wrapper module that allows to be configured with user supplied equivalent functions at runtime.
and so on
The text was updated successfully, but these errors were encountered: