aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/code/rust.tmGrammar.json6
-rw-r--r--editors/code/src/inlay_hints.ts1
2 files changed, 7 insertions, 0 deletions
diff --git a/editors/code/rust.tmGrammar.json b/editors/code/rust.tmGrammar.json
index 1b8cc713a..b3eec327b 100644
--- a/editors/code/rust.tmGrammar.json
+++ b/editors/code/rust.tmGrammar.json
@@ -140,6 +140,12 @@
140 }, 140 },
141 "patterns": [ 141 "patterns": [
142 { 142 {
143 "include": "#block-comments"
144 },
145 {
146 "include": "#comments"
147 },
148 {
143 "include": "#keywords" 149 "include": "#keywords"
144 }, 150 },
145 { 151 {
diff --git a/editors/code/src/inlay_hints.ts b/editors/code/src/inlay_hints.ts
index 09f40229b..38eb1c15b 100644
--- a/editors/code/src/inlay_hints.ts
+++ b/editors/code/src/inlay_hints.ts
@@ -61,6 +61,7 @@ function createHintStyle(hintKind: "type" | "parameter" | "chaining") {
61 backgroundColor: bg, 61 backgroundColor: bg,
62 fontStyle: "normal", 62 fontStyle: "normal",
63 fontWeight: "normal", 63 fontWeight: "normal",
64 textDecoration: ";font-size:smaller",
64 }, 65 },
65 }), 66 }),
66 toDecoration(hint: ra.InlayHint, conv: lc.Protocol2CodeConverter): vscode.DecorationOptions { 67 toDecoration(hint: ra.InlayHint, conv: lc.Protocol2CodeConverter): vscode.DecorationOptions {