Skip to content

Commit c369a48

Browse files
author
Marc Jakobi
committed
fix(testables): support neotest executor when using nextest
1 parent 19e7a9a commit c369a48

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
and support the 2024 edition
1515
via `unstable-options`.
1616

17+
### Fixed
18+
19+
- Testables: Support `neotest` executor when using `nextest`.
20+
1721
## [4.6.0] - 2024-02-07
1822

1923
### Added

lua/rustaceanvim/runnables.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function M.run_command(choice, runnables)
105105
return
106106
end
107107

108-
if #args > 0 and vim.startswith(args[1], 'test') then
108+
if #args > 0 and (vim.startswith(args[1], 'test') or vim.startswith(args[1], 'nextest')) then
109109
opts.test_executor.execute_command(command, args, cwd, {
110110
bufnr = vim.api.nvim_get_current_buf(),
111111
runnable = runnables[choice],

0 commit comments

Comments
 (0)