Skip to content

Commit

Permalink
Add Dart file type
Browse files Browse the repository at this point in the history
  • Loading branch information
osa1 committed Mar 20, 2022
1 parent a61f178 commit 01dcfe8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/lang.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ lang_spec_t langs[] = {
{ "cshtml", { "cshtml" } },
{ "css", { "css" } },
{ "cython", { "pyx", "pxd", "pxi" } },
{ "dart", { "dart" } },
{ "delphi", { "pas", "int", "dfm", "nfm", "dof", "dpk", "dpr", "dproj", "groupproj", "bdsgroup", "bdsproj" } },
{ "dlang", { "d", "di" } },
{ "dot", { "dot", "gv" } },
Expand Down
3 changes: 3 additions & 0 deletions tests/list_file_types.t
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ Language types are output:

--cython
.pyx .pxd .pxi

--dart
.dart

--delphi
.pas .int .dfm .nfm .dof .dpk .dpr .dproj .groupproj .bdsgroup .bdsproj
Expand Down

0 comments on commit 01dcfe8

Please sign in to comment.