mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-27 04:15:08 +00:00
Smaller inlay hints
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.
This commit is contained in:
parent
85cda15b62
commit
77ffe137f2
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