Only loading `tokenColorCustomizations` once.
@@ -63,12 +63,12 @@ function loadThemeNamed(themeName: string) {
}
}
+ }
const customization: any = vscode.workspace.getConfiguration('editor').get('tokenColorCustomizations');
if (customization && customization.textMateRules) {
loadColors(customization.textMateRules)
}
}
-}
function loadThemeFile(themePath: string) {
if (checkFileExists(themePath)) {
