src/vs/editor/standalone/browser/standaloneEditor.ts/setModelLanguage
export function setModelLanguage(model: ITextModel, languageId: string): void {
	StaticServices.modelService.get().setMode(model, StaticServices.modeService.get().create(languageId));
}