mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Removed all dead config accessors.
This commit is contained in:
parent
d8f0213316
commit
5b9f173254
1 changed files with 0 additions and 17 deletions
|
@ -120,12 +120,6 @@ export class Config {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
get checkOnSave() {
|
|
||||||
return {
|
|
||||||
command: this.get<string>("checkOnSave.command"),
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
get cargoRunner() {
|
get cargoRunner() {
|
||||||
return this.get<string | undefined>("cargoRunner");
|
return this.get<string | undefined>("cargoRunner");
|
||||||
}
|
}
|
||||||
|
@ -150,17 +144,6 @@ export class Config {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
get lens() {
|
|
||||||
return {
|
|
||||||
enable: this.get<boolean>("lens.enable"),
|
|
||||||
run: this.get<boolean>("lens.run"),
|
|
||||||
debug: this.get<boolean>("lens.debug"),
|
|
||||||
implementations: this.get<boolean>("lens.implementations"),
|
|
||||||
methodReferences: this.get<boolean>("lens.methodReferences"),
|
|
||||||
references: this.get<boolean>("lens.references"),
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
get hoverActions() {
|
get hoverActions() {
|
||||||
return {
|
return {
|
||||||
enable: this.get<boolean>("hoverActions.enable"),
|
enable: this.get<boolean>("hoverActions.enable"),
|
||||||
|
|
Loading…
Reference in a new issue