/*--------------------------------------------------------------------------------------------- * 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.js'; registerLanguage({ id: 'c', extensions: ['.c', '.h'], aliases: ['C', 'c'], loader: function () { return import('./cpp.js'); } }); registerLanguage({ id: 'cpp', extensions: ['.cpp', '.cc', '.cxx', '.hpp', '.hh', '.hxx'], aliases: ['C++', 'Cpp', 'cpp'], loader: function () { return import('./cpp.js'); } });