Avelino 2018-05-30 11:26:52 -03:00
parent 3dd38f1ca5
commit b8cf0d688f
7 changed files with 395 additions and 113 deletions

View file

@ -0,0 +1,18 @@
/*---------------------------------------------------------------------------------------------
* 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';
// Allow for running under nodejs/requirejs in tests
const _monaco: typeof monaco =
typeof monaco === 'undefined' ? (<any>self).monaco : monaco;
registerLanguage({
id: 'clojure',
extensions: ['.clj', '.clojure'],
aliases: ['clojure', 'Clojure'],
loader: () => _monaco.Promise.wrap(import('./clojure')),
});