marilari88 / neotest-vitest

Vitest adapter for Neovim Neotest plugin
92 stars 34 forks source link

refactor: replace deprecated vim.tbl_flatten function #56

Open davidk55 opened 2 months ago

davidk55 commented 2 months ago

Replace the deprecated vim.tbl_flatten function (which will be removed with Neovim 0.13) by using new the iter() interface that came in Neovim 0.10.

marilari88 commented 2 months ago

hi @davidk55! Thank you for the PR. What about for the older versions of neovim? Are we gonna break them?

davidk55 commented 2 months ago

Hi, thanks for the fast reply. Yes, this will not work with Neovim versions lower than 0.10, so it will be required. So maybe it would be better to wait for the next major release of Neovim when more people using 0.10 or higher. Also, the requirement could be added to the readme then.