mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-12 21:28:51 +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,
|
||||
fontStyle: "normal",
|
||||
fontWeight: "normal",
|
||||
textDecoration: "none",
|
||||
textDecoration: ";font-size:smaller",
|
||||
},
|
||||
}),
|
||||
toDecoration(hint: ra.InlayHint, conv: lc.Protocol2CodeConverter): vscode.DecorationOptions {
|
||||
|
|
Loading…
Reference in a new issue