mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-23 19:59:37 +00:00
@@ -169,7 +169,8 @@ export abstract class BaseServiceConfigurationProvider implements ServiceConfigu
|
||||
}
|
||||
|
||||
protected extractLocale(configuration: vscode.WorkspaceConfiguration): string | null {
|
||||
return configuration.get<string | null>('typescript.locale', null);
|
||||
const value = configuration.get<string>('typescript.locale', 'auto');
|
||||
return !value || value === 'auto' ? null : value;
|
||||
}
|
||||
|
||||
protected readUseSyntaxServer(configuration: vscode.WorkspaceConfiguration): SyntaxServerConfiguration {
|
||||
|
||||
Reference in New Issue
Block a user