monaco-editor/src/ruby/ruby.contribution.ts
2020-09-02 23:54:25 +01:00

15 lines
610 B
TypeScript

/*---------------------------------------------------------------------------------------------
* 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: 'ruby',
extensions: ['.rb', '.rbx', '.rjs', '.gemspec', '.pp'],
filenames: ['rakefile', 'Gemfile'],
aliases: ['Ruby', 'rb'],
loader: () => import('./ruby')
});