Skip to content

Commit

Permalink
Add support for ballerina (#1869)
Browse files Browse the repository at this point in the history
Thanks for this @KingDarBoja!
  • Loading branch information
KingDarBoja authored and robertohuertasm committed Feb 17, 2019
1 parent fab8cb5 commit a4b3b2a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions icons/file_type_ballerina.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/iconsManifest/languages.ts
Expand Up @@ -20,6 +20,7 @@ export const languages: ILanguageCollection = {
ids: 'azure-pipelines',
defaultExtension: 'azure-pipelines.yml',
},
ballerina: { ids: 'ballerina', defaultExtension: 'bal' },
bat: { ids: 'bat', defaultExtension: 'bat' },
bazel: { ids: 'bazel', defaultExtension: 'bzl' },
bibtex: { ids: 'bibtex', defaultExtension: 'bib' },
Expand Down
6 changes: 6 additions & 0 deletions src/iconsManifest/supportedExtensions.ts
Expand Up @@ -475,6 +475,12 @@ export const extensions: IFileCollection = {
format: FileFormat.svg,
disabled: true,
},
{
icon: 'ballerina',
extensions: [],
languages: [languages.ballerina],
format: FileFormat.svg,
},
{
icon: 'bat',
extensions: [],
Expand Down
1 change: 1 addition & 0 deletions src/models/language/languageCollection.ts
Expand Up @@ -18,6 +18,7 @@ export interface ILanguageCollection extends INativeLanguageCollection {
avro: ILanguage;
azcli: ILanguage;
azurepipelines: ILanguage;
ballerina: ILanguage;
bazel: ILanguage;
bibtex: ILanguage;
blade: ILanguage;
Expand Down

0 comments on commit a4b3b2a

Please sign in to comment.