diff options
author | pommicket <pommicket@gmail.com> | 2022-12-28 17:53:22 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-28 17:53:22 -0500 |
commit | 8ef7a72c55e66c097c0130ab17e2062ef75e4723 (patch) | |
tree | 06a83cdddb4179b78292d6c5bb5a30b607551702 /ted.h | |
parent | dce1a94e3be8dc4b702d02d901d9b38c6f6a41ce (diff) |
syntax highlighting for JSON, and XML as a separate language
Diffstat (limited to 'ted.h')
-rw-r--r-- | ted.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -80,6 +80,8 @@ typedef enum { LANG_GO = 11, LANG_TED_CFG = 12, // like LANG_CONFIG, but with multiline strings. LANG_TYPESCRIPT = 13, + LANG_JSON = 14, + LANG_XML = 15, LANG_COUNT } Language; @@ -103,6 +105,8 @@ static LanguageName const language_names[] = { {LANG_GO, "Go"}, {LANG_TED_CFG, "TedCfg"}, {LANG_TYPESCRIPT, "TypeScript"}, + {LANG_JSON, "JSON"}, + {LANG_XML, "XML"}, }; static_assert_if_possible(arr_count(language_names) == LANG_COUNT) |