summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-04-20 14:18:56 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2021-04-20 14:18:56 -0400
commitf90d98c3c451aa5be2979ff05863b5aa8bee9336 (patch)
treef565281789262225d28dc177ce97640b19dce646 /ted.h
parentf5bb2118eadc20402e69d575c9be8a02cf673caa (diff)
cfg syntax highlighting
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ted.h b/ted.h
index 6e61ea9..e08f222 100644
--- a/ted.h
+++ b/ted.h
@@ -52,6 +52,7 @@ ENUM_U16 {
LANG_TEX,
LANG_MARKDOWN,
LANG_HTML,
+ LANG_CONFIG, // .cfg files, e.g. ted.cfg
LANG_COUNT
} ENUM_U16_END(Language);
@@ -69,6 +70,7 @@ static LanguageName const language_names[] = {
{LANG_TEX, "Tex"},
{LANG_MARKDOWN, "Markdown"},
{LANG_HTML, "HTML"},
+ {LANG_CONFIG, "Config"},
};
static_assert_if_possible(arr_count(language_names) == LANG_COUNT)