Open JordanFaust opened 5 months ago
@JordanFaust, could you assist me in reproducing the issue by providing more details about your configuration or the steps you're following? I'm attempting to change the current working directory with a test file in the buffer, but no errors are appearing.
So I moved what I was doing into an autogroup that changes the directory after I load a new session for a project. That is working just fine now. However, if I execute the command lua vim.api.nvim_set_current_dir('/some/other/project')
after I have executed tests using the vitest adapter I get the above error still.
Anytime neotest-vitest is used within a buffer attempting to change the current working directory within neovim fails due to nio background tasks.
Full stack trace:
This specifically is failing within the checks looking for a vitest dependency but I think it might be the root function that is causing the issue.