mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Fix code after "apply suggestions"
This commit is contained in:
parent
c40ee089f2
commit
28e9e8d4cf
4 changed files with 21 additions and 15 deletions
|
@ -25,8 +25,8 @@ export class Config {
|
|||
public cargoWatchOptions: CargoWatchOptions = {
|
||||
enableOnStartup: 'ask',
|
||||
trace: 'off',
|
||||
checkArguments: '',
|
||||
checkCommand: ''
|
||||
arguments: '',
|
||||
command: ''
|
||||
};
|
||||
|
||||
private prevEnhancedTyping: null | boolean = null;
|
||||
|
@ -107,16 +107,16 @@ export class Config {
|
|||
);
|
||||
}
|
||||
|
||||
if (config.has('cargo-watch.check-arguments')) {
|
||||
this.cargoWatchOptions.checkArguments = config.get<string>(
|
||||
'cargo-watch.check-arguments',
|
||||
if (config.has('cargo-watch.arguments')) {
|
||||
this.cargoWatchOptions.arguments = config.get<string>(
|
||||
'cargo-watch.arguments',
|
||||
''
|
||||
);
|
||||
}
|
||||
|
||||
if (config.has('cargo-watch.check-command')) {
|
||||
this.cargoWatchOptions.checkCommand = config.get<string>(
|
||||
'cargo-watch.check-command',
|
||||
if (config.has('cargo-watch.command')) {
|
||||
this.cargoWatchOptions.command = config.get<string>(
|
||||
'cargo-watch.command',
|
||||
''
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue