From 51f6b59cc37acfcbac89ef948189bd37fd1e9c0b Mon Sep 17 00:00:00 2001 From: Alexandru Dima Date: Wed, 23 Dec 2020 15:41:46 +0100 Subject: [PATCH] Fix compilation --- src/ecl/ecl.contribution.ts | 1 - src/ecl/ecl.test.ts | 4 +--- src/ecl/ecl.ts | 9 +++------ 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/ecl/ecl.contribution.ts b/src/ecl/ecl.contribution.ts index 9aacefa6..dfa4ed90 100644 --- a/src/ecl/ecl.contribution.ts +++ b/src/ecl/ecl.contribution.ts @@ -2,7 +2,6 @@ * 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'; diff --git a/src/ecl/ecl.test.ts b/src/ecl/ecl.test.ts index 0866d10c..d2bbaed1 100644 --- a/src/ecl/ecl.test.ts +++ b/src/ecl/ecl.test.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { testTokenization } from '../test/testRunner'; -testTokenization('csp', []); +testTokenization('ecl', []); diff --git a/src/ecl/ecl.ts b/src/ecl/ecl.ts index 861ea6a8..a1061738 100644 --- a/src/ecl/ecl.ts +++ b/src/ecl/ecl.ts @@ -3,12 +3,9 @@ * 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; -import ILanguage = monaco.languages.IMonarchLanguage; - -export const conf: IRichLanguageConfiguration = { +export const conf: languages.LanguageConfiguration = { comments: { lineComment: '//', blockComment: ['/*', '*/'] @@ -35,7 +32,7 @@ export const conf: IRichLanguageConfiguration = { ] }; -export const language = { +export const language = { defaultToken: '', tokenPostfix: '.ecl', ignoreCase: true,