Skip to content

Commit 8c779dd

Browse files
authored
Fix rust test code lens actions (#1104)
1 parent 29f8eb2 commit 8c779dd

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/extensions/rust_analyzer.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,11 @@ impl LanguageClient {
112112
Runnable::Bin(runnable) => {
113113
format!("term {} {}", runnable.bin, runnable.args.join(" "))
114114
}
115-
Runnable::Generic(runnable) => {
116-
format!("term cargo {}", runnable.args.cargo_args.join(" "))
117-
}
115+
Runnable::Generic(runnable) => format!(
116+
"term cargo {} -- {}",
117+
runnable.args.cargo_args.join(" "),
118+
runnable.args.executable_args.join(" "),
119+
),
118120
};
119121

120122
self.vim()?.command(cmd.replace('"', ""))?;

0 commit comments

Comments
 (0)