Skip to content

Commit

Permalink
add twine icon (#873)
Browse files Browse the repository at this point in the history
* add twine icon

* add harlow, chapterbook and sugarcube lang support

* Add twee file extension support

* fix twee language names

* Update twine file icon

Co-authored-by: PKief <philipp.kief@gmx.de>
  • Loading branch information
arohman84 and PKief authored Nov 17, 2020
1 parent 6bd7558 commit 955bc11
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions icons/twine.svg
Loading
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/icons/fileIcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export const fileIcons: FileIcons = {
name: 'sublime',
fileExtensions: ['sublime-project', 'sublime-workspace'],
},
{ name: 'twine', fileExtensions: ['tw', 'twee'] },
{ name: 'yaml', fileExtensions: ['yaml', 'YAML-tmLanguage', 'yml'] },
{
name: 'xml',
Expand Down
1 change: 1 addition & 0 deletions src/icons/languageIcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,5 @@ export const languageIcons: LanguageIcon[] = [
{ icon: { name: 'search' }, ids: ['search-result'] },
{ icon: { name: 'minecraft' }, ids: ['mcfunction'] },
{ icon: { name: 'rescript' }, ids: ['rescript'] },
{ icon: { name: 'twine' }, ids: ['twee3', 'twee3-harlowe-3', 'twee3-chapbook-1', 'twee3-sugarcube-2'] },
];

0 comments on commit 955bc11

Please sign in to comment.