diff options
| author | Seivan Heidari <seivan.heidari@icloud.com> | 2019-10-24 17:56:59 +0200 |
|---|---|---|
| committer | Seivan Heidari <seivan.heidari@icloud.com> | 2019-10-24 17:56:59 +0200 |
| commit | 8e63644d6645b3e62ec92199a460cccde91c5482 (patch) | |
| tree | ca9f252bfa3b272f210cbedecb67226b32771648 /editors/code/src | |
| parent | 3e8616cf6df5ba6e5dceba8b834dc63c20bac4d4 (diff) | |
| download | rust-8e63644d6645b3e62ec92199a460cccde91c5482.tar.gz rust-8e63644d6645b3e62ec92199a460cccde91c5482.zip | |
Only loading `tokenColorCustomizations` once.
Diffstat (limited to 'editors/code/src')
| -rw-r--r-- | editors/code/src/scopes.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editors/code/src/scopes.ts b/editors/code/src/scopes.ts index 19d3098281d..c38f6bb5076 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) } } |
