diff options
Diffstat (limited to 'editors/code/src/highlighting.ts')
-rw-r--r-- | editors/code/src/highlighting.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/highlighting.ts b/editors/code/src/highlighting.ts index 68eae0941..4e224a54c 100644 --- a/editors/code/src/highlighting.ts +++ b/editors/code/src/highlighting.ts | |||
@@ -26,7 +26,7 @@ function fancify(seed: string, shade: 'light' | 'dark') { | |||
26 | } | 26 | } |
27 | 27 | ||
28 | function createDecorationFromTextmate( | 28 | function createDecorationFromTextmate( |
29 | themeStyle: scopes.TextMateRuleSettings | 29 | themeStyle: scopes.TextMateRuleSettings, |
30 | ): vscode.TextEditorDecorationType { | 30 | ): vscode.TextEditorDecorationType { |
31 | const decorationOptions: vscode.DecorationRenderOptions = {}; | 31 | const decorationOptions: vscode.DecorationRenderOptions = {}; |
32 | decorationOptions.rangeBehavior = vscode.DecorationRangeBehavior.OpenOpen; | 32 | decorationOptions.rangeBehavior = vscode.DecorationRangeBehavior.OpenOpen; |
@@ -84,7 +84,7 @@ export class Highlighter { | |||
84 | const color = new vscode.ThemeColor(fallBackTag); | 84 | const color = new vscode.ThemeColor(fallBackTag); |
85 | const decor = vscode.window.createTextEditorDecorationType({ | 85 | const decor = vscode.window.createTextEditorDecorationType({ |
86 | color, | 86 | color, |
87 | textDecoration | 87 | textDecoration, |
88 | }); | 88 | }); |
89 | return [tag, decor]; | 89 | return [tag, decor]; |
90 | } | 90 | } |