Merge pull request #53 from pascalberger/patch-1

Use C# highlighting for Cake scripts
This commit is contained in:
Alexandru Dima 2018-10-24 19:04:18 +02:00 committed by GitHub
commit f4280b21d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ const _monaco: typeof monaco = (typeof monaco === 'undefined' ? (<any>self).mona
registerLanguage({
id: 'csharp',
extensions: ['.cs', '.csx'],
extensions: ['.cs', '.csx', '.cake'],
aliases: ['C#', 'csharp'],
loader: () => _monaco.Promise.wrap(import('./csharp'))
});