1
0

cpp.contribution.ts 695 B

1234567891011121314151617181920
  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. 'use strict';
  6. import { registerLanguage } from '../_.contribution';
  7. registerLanguage({
  8. id: 'c',
  9. extensions: ['.c', '.h'],
  10. aliases: ['C', 'c'],
  11. loader: () => import('./cpp')
  12. });
  13. registerLanguage({
  14. id: 'cpp',
  15. extensions: ['.cpp', '.cc', '.cxx', '.hpp', '.hh', '.hxx'],
  16. aliases: ['C++', 'Cpp', 'cpp'],
  17. loader: () => import('./cpp')
  18. });