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

add support for reStructuredText #77

Merged
merged 2 commits into from
Jan 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/monaco.contribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ import './r/r.contribution';
import './razor/razor.contribution';
import './redis/redis.contribution';
import './redshift/redshift.contribution';
import './restructuredtext/restructuredtext.contribution';
import './ruby/ruby.contribution';
import './rust/rust.contribution';
import './sb/sb.contribution';
Expand Down
14 changes: 14 additions & 0 deletions src/restructuredtext/restructuredtext.contribution.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/*---------------------------------------------------------------------------------------------
* 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: 'restructuredtext',
extensions: ['.rst'],
aliases: ['reStructuredText', 'restructuredtext'],
loader: () => import('./restructuredtext')
});
Loading