We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffe53e8 commit a60ffd7Copy full SHA for a60ffd7
src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.ts
@@ -337,7 +337,11 @@ export class MergeEditorModel extends EditorModel {
337
}
338
339
public setLanguageId(languageId: string): void {
340
- this.modelService.setMode(this.result, this.languageService.createById(languageId));
+ const language = this.languageService.createById(languageId);
341
+ this.modelService.setMode(this.base, language);
342
+ this.modelService.setMode(this.input1, language);
343
+ this.modelService.setMode(this.input2, language);
344
+ this.modelService.setMode(this.result, language);
345
346
347
0 commit comments