summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-05-21 22:52:19 -0400
committerpommicket <pommicket@gmail.com>2023-05-21 22:52:19 -0400
commite52c5c62824e378bc9a25fff1f41b0254eb85a8a (patch)
treec2187ceb4e67d40715bf75747a10bb2b6b9d8e4d /ted.h
parent37eb65550f164857ed27d2e07c48c8b80c4d15fc (diff)
highlight TODOs in comments
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ted.h b/ted.h
index 5b79599..abfe991 100644
--- a/ted.h
+++ b/ted.h
@@ -101,7 +101,7 @@ typedef u32 SyntaxState;
/// types of syntax highlighting
enum SyntaxCharType {
- // do not change these numbers as it will break backwards compatibility
+ // do not change these numbers as it will break backwards compatibility with plugins
SYNTAX_NORMAL = 0,
SYNTAX_KEYWORD = 1,
SYNTAX_BUILTIN = 2,
@@ -110,6 +110,7 @@ enum SyntaxCharType {
SYNTAX_STRING = 5,
SYNTAX_CHARACTER = 6,
SYNTAX_CONSTANT = 7,
+ SYNTAX_TODO = 8,
};
/// Type of syntax highlighting.
typedef u8 SyntaxCharType;