Because neovim does not yet have a native multi-select, we rely on this loop instead.
Our workaround behaves as intended, unless a wrapper around vim.ui.select (such as dressing.nvim) is used. That is because our loop expects vim.ui.select to block, whereas when dressing.nvim is used, vim.ui.select becomes asynchronous.
Ideally, NeotestPlaywrightProject should work both in blocking mode (vanilla nvim) as well as in async mode (if dressing.nvim is installed). Otherwise, we should notify users to avoid cases like #19.
Because neovim does not yet have a native multi-select, we rely on this loop instead.
Our workaround behaves as intended, unless a wrapper around
vim.ui.select
(such as dressing.nvim) is used. That is because our loop expectsvim.ui.select
to block, whereas when dressing.nvim is used,vim.ui.select
becomes asynchronous.Ideally,
NeotestPlaywrightProject
should work both in blocking mode (vanilla nvim) as well as in async mode (ifdressing.nvim
is installed). Otherwise, we should notify users to avoid cases like #19.Also see: