mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
Apply suggestions from code review
Co-Authored-By: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
parent
b1bc629b83
commit
c40ee089f2
2 changed files with 4 additions and 4 deletions
|
@ -201,12 +201,12 @@
|
|||
],
|
||||
"description": "Whether to run `cargo watch` on startup"
|
||||
},
|
||||
"rust-analyzer.cargo-watch.check-arguments": {
|
||||
"rust-analyzer.cargo-watch.command-arguments": {
|
||||
"type": "string",
|
||||
"description": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )",
|
||||
"default": ""
|
||||
},
|
||||
"rust-analyzer.cargo-watch.check-command": {
|
||||
"rust-analyzer.cargo-watch.command": {
|
||||
"type": "string",
|
||||
"description": "`cargo-watch` command. (e.g: `clippy` will run as `cargo watch -x clippy` )",
|
||||
"default": "check"
|
||||
|
|
|
@ -10,8 +10,8 @@ export type CargoWatchTraceOptions = 'off' | 'error' | 'verbose';
|
|||
|
||||
export interface CargoWatchOptions {
|
||||
enableOnStartup: CargoWatchStartupOptions;
|
||||
checkArguments: string;
|
||||
checkCommand: string;
|
||||
arguments: string;
|
||||
command: string;
|
||||
trace: CargoWatchTraceOptions;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue