Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Commit

Permalink
Add Systemverilog language support
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
12 people authored and alexdima committed Aug 27, 2020
1 parent 618f2cf commit c77b109
Show file tree
Hide file tree
Showing 4 changed files with 1,370 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/monaco.contribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ import './sophia/sophia.contribution';
import './sql/sql.contribution';
import './st/st.contribution';
import './swift/swift.contribution';
import './systemverilog/systemverilog.contribution';
import './tcl/tcl.contribution';
import './twig/twig.contribution';
import './typescript/typescript.contribution';
Expand Down
23 changes: 23 additions & 0 deletions src/systemverilog/systemverilog.contribution.ts
Original file line number Diff line number Diff line change
@@ -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')
});

Loading

0 comments on commit c77b109

Please sign in to comment.