mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 03:30:10 +01:00
20 lines
735 B
TypeScript
20 lines
735 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: 'systemverilog',
|
|
extensions: ['.sv', '.svh'],
|
|
aliases: ['SV', 'sv', 'SystemVerilog', 'systemverilog'],
|
|
loader: () => import('./systemverilog')
|
|
});
|
|
|
|
registerLanguage({
|
|
id: 'verilog',
|
|
extensions: ['.v', '.vh'],
|
|
aliases: ['V', 'v', 'Verilog', 'verilog'],
|
|
loader: () => import('./systemverilog')
|
|
});
|