mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-31 07:37:30 +00:00
Only loading tokenColorCustomizations
once.
This commit is contained in:
parent
3e8616cf6d
commit
8e63644d66
1 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue