Add Systemverilog language support

Co-authored-by: cinnamontoastmafia <brianna.k.loomis@gmail.com>
Co-authored-by: Cinnamontoastmafia <cinnamontoastmafia@users.noreply.github.com>
Co-authored-by: elakkiap <elakkiap@users.noreply.github.com>
Co-authored-by: Fred Chu <freddychu222@users.noreply.github.com>
Co-authored-by: Freddychu222 <43318067+Freddychu222@users.noreply.github.com>
Co-authored-by: NeilW2020 <neil.j.wen@gmail.com>
Co-authored-by: root <xadegunt@users.noreply.github.com>
Co-authored-by: sabalkaw <68864756+sabalkaw@users.noreply.github.com>
Co-authored-by: sago5993 <sago5993@users.noreply.github.com>
Co-authored-by: Vivian Cheng <vccheng@andrew.cmu.edu>
Co-authored-by: xadegunt <62346806+xadegunt@users.noreply.github.com>
This commit is contained in:
Spencer Williams 2020-08-27 13:33:26 +02:00 committed by Alex Dima
parent 618f2cff2d
commit c77b1099da
No known key found for this signature in database
GPG key ID: 6E58D7B045760DA0
4 changed files with 1370 additions and 0 deletions

View file

@ -0,0 +1,23 @@
/*---------------------------------------------------------------------------------------------
* 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: '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')
});