mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 21:13:37 +00:00
Merge #6394
6394: Smaller inlay hints r=SomeoneToIgnore a=kjeremy This makes things a lot more readable but isn't officially supported by vscode: https://github.com/Microsoft/vscode/issues/9078 Inspired by Visual Studio, IntelliJ and Resharper. Co-authored-by: kjeremy <kjeremy@gmail.com>
This commit is contained in:
commit
93fca7556a
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ function createHintStyle(hintKind: "type" | "parameter" | "chaining") {
|
||||||
backgroundColor: bg,
|
backgroundColor: bg,
|
||||||
fontStyle: "normal",
|
fontStyle: "normal",
|
||||||
fontWeight: "normal",
|
fontWeight: "normal",
|
||||||
textDecoration: "none",
|
textDecoration: ";font-size:smaller",
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
toDecoration(hint: ra.InlayHint, conv: lc.Protocol2CodeConverter): vscode.DecorationOptions {
|
toDecoration(hint: ra.InlayHint, conv: lc.Protocol2CodeConverter): vscode.DecorationOptions {
|
||||||
|
|
Loading…
Reference in a new issue