diff --git a/CHANGELOG.md b/CHANGELOG.md index 6152b16a..dcf76b30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,10 +6,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleased +## [Unreleased] ### Fixed +- Testables: Run doctests when cargo-nextest is present - Windows: Normalize file actions when comparing to root dir [#245] ## [4.7.5] - 2024-02-20 diff --git a/lua/rustaceanvim/runnables.lua b/lua/rustaceanvim/runnables.lua index c8007679..c2a11965 100644 --- a/lua/rustaceanvim/runnables.lua +++ b/lua/rustaceanvim/runnables.lua @@ -74,7 +74,7 @@ function M.get_command(runnable) ret = vim.list_extend(ret, args.cargoExtraArgs or {}) table.insert(ret, '--') ret = vim.list_extend(ret, args.executableArgs or {}) - if config.tools.enable_nextest then + if config.tools.enable_nextest and not vim.startswith(runnable.label, 'doctest') then ret = overrides.try_nextest_transform(ret) end