folke / neoconf.nvim

💼 Neovim plugin to manage global and project-local settings
Apache License 2.0
715 stars 29 forks source link

fix(deprecation): remove use of deprecated API functions #59

Closed willothy closed 3 months ago

willothy commented 4 months ago

Removes usage of several deprecated API functions, and changes all uses of vim.loop to vim.uv.

Now that 0.10 is released, several functions used here have been deprecated and show warnings when they're first called.

I've updated:

github-actions[bot] commented 3 months ago

This PR is stale because it has been open 60 days with no activity.

folke commented 3 months ago

Fixed it to work on version < 0.10.0 and added Util.islist back since that was still used and needed for older NEovim versions.

ty!

folke commented 3 months ago

Also fixed that flatten usage. Didn't work...

willothy commented 3 months ago

Also fixed that flatten usage. Didn't work...

Hmm I'll have to look into that one then! Afaik the docs say that vim.iter(t):flatten() should be able to replace vim.tbl_flatten, but maybe there are some slight differences. Also maybe between versions as I've been using this branch for a bit with no issues.

Thanks for the merge and for all of your work :)