mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-22 11:24:24 +00:00
Remove old inlay hints settings
This commit is contained in:
parent
7ce3ca5aab
commit
f77adb3a23
3 changed files with 8 additions and 21 deletions
|
@ -97,19 +97,6 @@ export class Config {
|
|||
get serverExtraEnv() { return this.get<Env | null>("server.extraEnv") ?? {}; }
|
||||
get traceExtension() { return this.get<boolean>("trace.extension"); }
|
||||
|
||||
get inlayHints() {
|
||||
return {
|
||||
enable: this.get<boolean>("inlayHints.enable"),
|
||||
typeHints: this.get<boolean>("inlayHints.typeHints"),
|
||||
parameterHints: this.get<boolean>("inlayHints.parameterHints"),
|
||||
chainingHints: this.get<boolean>("inlayHints.chainingHints"),
|
||||
closureReturnTypeHints: this.get<boolean>("inlayHints.closureReturnTypeHints"),
|
||||
hideNamedConstructorHints: this.get<boolean>("inlayHints.hideNamedConstructorHints"),
|
||||
smallerHints: this.get<boolean>("inlayHints.smallerHints"),
|
||||
maxLength: this.get<null | number>("inlayHints.maxLength"),
|
||||
};
|
||||
}
|
||||
|
||||
get cargoRunner() {
|
||||
return this.get<string | undefined>("cargoRunner");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue