Seivan Heidari 2019-12-24 00:04:36 +01:00
parent b21d9337d9
commit 25537d294c
4 changed files with 20 additions and 16 deletions

View file

@ -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];
}