mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
Fix 68a5ff050f (r361019340)
This commit is contained in:
parent
b21d9337d9
commit
25537d294c
4 changed files with 20 additions and 16 deletions
|
@ -26,7 +26,7 @@ function fancify(seed: string, shade: 'light' | 'dark') {
|
|||
}
|
||||
|
||||
function createDecorationFromTextmate(
|
||||
themeStyle: scopes.TextMateRuleSettings
|
||||
themeStyle: scopes.TextMateRuleSettings,
|
||||
): vscode.TextEditorDecorationType {
|
||||
const decorationOptions: vscode.DecorationRenderOptions = {};
|
||||
decorationOptions.rangeBehavior = vscode.DecorationRangeBehavior.OpenOpen;
|
||||
|
@ -84,7 +84,7 @@ export class Highlighter {
|
|||
const color = new vscode.ThemeColor(fallBackTag);
|
||||
const decor = vscode.window.createTextEditorDecorationType({
|
||||
color,
|
||||
textDecoration
|
||||
textDecoration,
|
||||
});
|
||||
return [tag, decor];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue