mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 19:42:56 +01:00
16 lines
690 B
TypeScript
16 lines
690 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
'use strict';
|
|
|
|
import {registerLanguage} from '../_.contribution';
|
|
|
|
const _monaco: typeof monaco = (typeof monaco === 'undefined' ? (<any>self).monaco : monaco);
|
|
|
|
registerLanguage({
|
|
id: 'tcl',
|
|
extensions: ['.tcl'],
|
|
aliases: ['tcl', 'Tcl', 'tcltk', 'TclTk', 'tcl/tk', 'Tcl/Tk'],
|
|
loader: () => _monaco.Promise.wrap(import('./tcl'))
|
|
});
|