scala.contribution.js 707 B

123456789101112
  1. /*---------------------------------------------------------------------------------------------
  2. * Copyright (c) Microsoft Corporation. All rights reserved.
  3. * Licensed under the MIT License. See License.txt in the project root for license information.
  4. *--------------------------------------------------------------------------------------------*/
  5. import { registerLanguage } from '../_.contribution.js';
  6. registerLanguage({
  7. id: 'scala',
  8. extensions: ['.scala', '.sc', '.sbt'],
  9. aliases: ['Scala', 'scala', 'SBT', 'Sbt', 'sbt', 'Dotty', 'dotty'],
  10. mimetypes: ['text/x-scala-source', 'text/x-scala', 'text/x-sbt', 'text/x-dotty'],
  11. loader: function () { return import('./scala.js'); }
  12. });