mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 17:25:39 +01:00
Use the global monaco only in the AMD case (see microsoft/monaco-editor#1974)
This commit is contained in:
parent
1af07d9cdb
commit
d7cc098c48
80 changed files with 347 additions and 387 deletions
|
|
@ -3,10 +3,9 @@
|
|||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import IRichLanguageConfiguration = monaco.languages.LanguageConfiguration;
|
||||
import ILanguage = monaco.languages.IMonarchLanguage;
|
||||
import type { languages } from '../fillers/monaco-editor-core';
|
||||
|
||||
export const conf: IRichLanguageConfiguration = {
|
||||
export const conf: languages.LanguageConfiguration = {
|
||||
comments: {
|
||||
lineComment: '//',
|
||||
blockComment: ['/*', '*/']
|
||||
|
|
@ -34,7 +33,7 @@ export const conf: IRichLanguageConfiguration = {
|
|||
]
|
||||
};
|
||||
|
||||
export const language = <ILanguage>{
|
||||
export const language = <languages.IMonarchLanguage>{
|
||||
defaultToken: '',
|
||||
tokenPostfix: '.go',
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue