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

Commit

Permalink
Merge pull request #164 from tochicool/protobuf
Browse files Browse the repository at this point in the history
Add support for Protocol Buffers language
  • Loading branch information
alexdima authored Oct 11, 2021
2 parents da955ef + 8876a63 commit 0e901e2
Show file tree
Hide file tree
Showing 4 changed files with 2,551 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 @@ -49,6 +49,7 @@ import './php/php.contribution';
import './postiats/postiats.contribution';
import './powerquery/powerquery.contribution';
import './powershell/powershell.contribution';
import './protobuf/protobuf.contribution';
import './pug/pug.contribution';
import './python/python.contribution';
import './qsharp/qsharp.contribution';
Expand Down
13 changes: 13 additions & 0 deletions src/protobuf/protobuf.contribution.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*---------------------------------------------------------------------------------------------
* 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: 'proto',
extensions: ['.proto'],
aliases: ['protobuf', 'Protocol Buffers'],
loader: () => import('./protobuf')
});
Loading

0 comments on commit 0e901e2

Please sign in to comment.