mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 17:25:39 +01:00
Fix compilation
This commit is contained in:
parent
3ff7e86f8c
commit
51f6b59cc3
3 changed files with 4 additions and 10 deletions
|
|
@ -2,7 +2,6 @@
|
||||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||||
*--------------------------------------------------------------------------------------------*/
|
*--------------------------------------------------------------------------------------------*/
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import { registerLanguage } from '../_.contribution';
|
import { registerLanguage } from '../_.contribution';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,6 @@
|
||||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||||
*--------------------------------------------------------------------------------------------*/
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import { testTokenization } from '../test/testRunner';
|
import { testTokenization } from '../test/testRunner';
|
||||||
|
|
||||||
testTokenization('csp', []);
|
testTokenization('ecl', []);
|
||||||
|
|
|
||||||
|
|
@ -3,12 +3,9 @@
|
||||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||||
*--------------------------------------------------------------------------------------------*/
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
'use strict';
|
import type { languages } from '../fillers/monaco-editor-core';
|
||||||
|
|
||||||
import IRichLanguageConfiguration = monaco.languages.LanguageConfiguration;
|
export const conf: languages.LanguageConfiguration = {
|
||||||
import ILanguage = monaco.languages.IMonarchLanguage;
|
|
||||||
|
|
||||||
export const conf: IRichLanguageConfiguration = {
|
|
||||||
comments: {
|
comments: {
|
||||||
lineComment: '//',
|
lineComment: '//',
|
||||||
blockComment: ['/*', '*/']
|
blockComment: ['/*', '*/']
|
||||||
|
|
@ -35,7 +32,7 @@ export const conf: IRichLanguageConfiguration = {
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
export const language = <ILanguage>{
|
export const language = <languages.IMonarchLanguage>{
|
||||||
defaultToken: '',
|
defaultToken: '',
|
||||||
tokenPostfix: '.ecl',
|
tokenPostfix: '.ecl',
|
||||||
ignoreCase: true,
|
ignoreCase: true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue