Only loading tokenColorCustomizations once.

This commit is contained in:
Seivan Heidari 2019-10-24 17:56:59 +02:00
parent 3e8616cf6d
commit 8e63644d66

View File

@ -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)
}
}