Skip to content

Commit

Permalink
Support TypeScript with --ts (.ts, .tsx)
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckd committed Nov 27, 2015
1 parent 9e11263 commit 9c9a7c1
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
Expand Up @@ -85,6 +85,7 @@ lang_spec_t langs[] = {
{ "tex", { "tex", "cls", "sty" } },
{ "tt", { "tt", "tt2", "ttml" } },
{ "toml", { "toml" } },
{ "ts", { "ts", "tsx" } },
{ "vala", { "vala", "vapi" } },
{ "vb", { "bas", "cls", "frm", "ctl", "vb", "resx" } },
{ "velocity", { "vm", "vtl", "vsl" } },
Expand Down
3 changes: 3 additions & 0 deletions tests/list_file_types.t
Expand Up @@ -246,6 +246,9 @@ Language types are output:
--toml
.toml

--ts
.ts .tsx

--vala
.vala .vapi

Expand Down

0 comments on commit 9c9a7c1

Please sign in to comment.