From 8e63644d6645b3e62ec92199a460cccde91c5482 Mon Sep 17 00:00:00 2001 From: Seivan Heidari Date: Thu, 24 Oct 2019 17:56:59 +0200 Subject: Only loading `tokenColorCustomizations` once. --- editors/code/src/scopes.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/editors/code/src/scopes.ts b/editors/code/src/scopes.ts index 19d309828..c38f6bb50 100644 --- a/editors/code/src/scopes.ts +++ b/editors/code/src/scopes.ts @@ -63,10 +63,10 @@ function loadThemeNamed(themeName: string) { } } - const customization: any = vscode.workspace.getConfiguration('editor').get('tokenColorCustomizations'); - if (customization && customization.textMateRules) { - loadColors(customization.textMateRules) - } + } + const customization: any = vscode.workspace.getConfiguration('editor').get('tokenColorCustomizations'); + if (customization && customization.textMateRules) { + loadColors(customization.textMateRules) } } -- cgit v1.2.3