diff --git a/editors/code/package.json b/editors/code/package.json index 269bed0f87..429d63f72a 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -312,7 +312,7 @@ ], "colors": [ { - "id": "rust-analyzer.inlayHint", + "id": "rust_analyzer.inlayHint", "description": "Color for inlay hints", "defaults": { "dark": "#A0A0A0F0", diff --git a/editors/code/src/inlay_hints.ts b/editors/code/src/inlay_hints.ts index 7575cead04..b6eb70168a 100644 --- a/editors/code/src/inlay_hints.ts +++ b/editors/code/src/inlay_hints.ts @@ -36,7 +36,7 @@ interface InlayHint { const typeHintDecorationType = vscode.window.createTextEditorDecorationType({ after: { - color: new vscode.ThemeColor('rust-analyzer.inlayHint'), + color: new vscode.ThemeColor('rust_analyzer.inlayHint'), }, });