Skip to content

Commit

Permalink
Add better support for Django
Browse files Browse the repository at this point in the history
  • Loading branch information
blfpd committed Jun 10, 2018
1 parent 2097577 commit 2091163
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/icon-manifest/languages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export const languages: ILanguageCollection = {
cython: { ids: 'cython', defaultExtension: 'pyx' },
dal: { ids: 'dal', defaultExtension: 'dal' },
dart: { ids: 'dart', defaultExtension: 'dart' },
django: { ids: 'django-html', defaultExtension: 'html' },
diff: { ids: 'diff', defaultExtension: 'diff' },
dlang: { ids: ['d', 'dscript', 'dml', 'diet'], defaultExtension: 'd' },
dockerfile: { ids: 'dockerfile', defaultExtension: 'dockerfile' },
Expand Down
2 changes: 1 addition & 1 deletion src/icon-manifest/supportedExtensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export const extensions: IFileCollection = {
{ icon: 'db', extensions: ['db'], light: true, format: FileFormat.svg },
{ icon: 'dependencies', extensions: ['dependencies.yml'], filename: true, format: FileFormat.svg },
{ icon: 'delphi', extensions: [], languages: [languages.pascal], format: FileFormat.svg },
{ icon: 'django', extensions: ['djt'], format: FileFormat.svg },
{ icon: 'django', extensions: ['djt'], languages: [languages.django], format: FileFormat.svg },
{ icon: 'dlang', extensions: [], languages: [languages.dlang], format: FileFormat.svg },
{ icon: 'diff', extensions: [], languages: [languages.diff], format: FileFormat.svg },
{
Expand Down
1 change: 1 addition & 0 deletions src/models/language/languageCollection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export interface ILanguageCollection extends INativeLanguageCollection {
cython: ILanguage;
dal: ILanguage;
dart: ILanguage;
django: ILanguage;
dlang: ILanguage;
doctex: ILanguage;
dotenv: ILanguage;
Expand Down

0 comments on commit 2091163

Please sign in to comment.