Skip to content

Commit db9fc02

Browse files
msivasubramaniaandatho7561
authored andcommitted
handled locale on YAML LS side
1 parent 471326e commit db9fc02

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/extension.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,6 @@ export function startClient(
114114
const telemetryErrorHandler = new TelemetryErrorHandler(runtime.telemetry, lsName, 4);
115115
const outputChannel = window.createOutputChannel(lsName);
116116
const l10nPath = context.asAbsolutePath('../yaml-language-server/l10n');
117-
const supportedLanguages = ['de', 'fr', 'ja', 'ko', 'zh-cn', 'zh-tw'];
118-
const locale = supportedLanguages.includes(env.language) ? env.language : 'en';
119117
// Options to control the language client
120118
const clientOptions: LanguageClientOptions = {
121119
// Register the server for on disk and newly created YAML documents
@@ -134,7 +132,6 @@ export function startClient(
134132
outputChannel: new TelemetryOutputChannel(outputChannel, runtime.telemetry),
135133
initializationOptions: {
136134
l10nPath,
137-
locale,
138135
},
139136
};
140137

0 commit comments

Comments
 (0)