monaco-editor/src/pascal/pascal.contribution.ts
2020-09-08 12:18:27 +02:00

14 lines
600 B
TypeScript

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { registerLanguage } from '../_.contribution';
registerLanguage({
id: 'pascal',
extensions: ['.pas', '.p', '.pp'],
aliases: ['Pascal', 'pas'],
mimetypes: ['text/x-pascal-source', 'text/x-pascal'],
loader: () => import('./pascal')
});