mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 23:13:02 +01:00
Adds Pascal language files
This commit is contained in:
parent
ec16c9c01a
commit
34c155adaa
3 changed files with 317 additions and 0 deletions
15
src/pascal/pascal.contribution.ts
Normal file
15
src/pascal/pascal.contribution.ts
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
/*---------------------------------------------------------------------------------------------
|
||||
* 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';
|
||||
|
||||
registerLanguage({
|
||||
id: 'pascal',
|
||||
extensions: ['.pas', '.p', '.pp'],
|
||||
aliases: ['Pascal', 'pas'],
|
||||
mimetypes: ['text/x-pascal-source', 'text/x-pascal'],
|
||||
loader: () => import('./pascal')
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue