Add Tcl support

This commit is contained in:
alan.invents 2019-01-10 15:23:38 +01:00 committed by Alex Dima
parent 8f7537dee5
commit 9d51b7ced9
6 changed files with 281 additions and 4 deletions

View file

@ -0,0 +1,16 @@
/*---------------------------------------------------------------------------------------------
* 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'))
});