diff options
author | pommicket <pommicket@gmail.com> | 2022-12-27 14:39:01 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-27 14:39:01 -0500 |
commit | c9907c20599728286e73115d11b46b169d10e1a3 (patch) | |
tree | b1a287d830d8ee7e013e519df9b082485af1082c /ted.h | |
parent | a11545e25cf2f65047158cc1fd7ed5a0f11a9fa0 (diff) |
add typescript highlighting
Diffstat (limited to 'ted.h')
-rw-r--r-- | ted.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) |