summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ted.h b/ted.h
index a33a1eb..ae02fac 100644
--- a/ted.h
+++ b/ted.h
@@ -79,6 +79,7 @@ typedef enum {
LANG_JAVA = 10,
LANG_GO = 11,
LANG_TED_CFG = 12, // like LANG_CONFIG, but with multiline strings.
+ LANG_TYPESCRIPT = 13,
LANG_COUNT
} Language;
@@ -97,10 +98,11 @@ static LanguageName const language_names[] = {
{LANG_MARKDOWN, "Markdown"},
{LANG_HTML, "HTML"},
{LANG_CONFIG, "Config"},
- {LANG_JAVASCRIPT, "Javascript"},
+ {LANG_JAVASCRIPT, "JavaScript"},
{LANG_JAVA, "Java"},
{LANG_GO, "Go"},
{LANG_TED_CFG, "TedCfg"},
+ {LANG_TYPESCRIPT, "TypeScript"},
};
static_assert_if_possible(arr_count(language_names) == LANG_COUNT)