summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-02-26 22:57:14 -0500
committerpommicket <pommicket@gmail.com>2023-02-26 22:57:14 -0500
commit0f13ab99138c3e5f159b964510f5cf136503feec (patch)
treedd58d182f375218f96032c007e08456d324bad8e
parent946eb60553a459e952096a93f805b1bb62ac11ae (diff)
fix multi-line " string highlighting in ted.cfg
-rw-r--r--main.c1
-rw-r--r--syntax.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/main.c b/main.c
index b2af2d4..043d335 100644
--- a/main.c
+++ b/main.c
@@ -12,7 +12,6 @@ FUTURE FEATURES:
- CSS highlighting
- option for separate colors for read/write highlights
- styles ([color] sections)
-- handle non-UTF8 file by using 0xD800-0xD8FF or something for raw bytes
- make go-to-definition/hover/highlight modifier key configurable
- return to previous location in buffer
- font setting & support for multiple fonts to cover more characters
diff --git a/syntax.c b/syntax.c
index ac2585f..bb69a50 100644
--- a/syntax.c
+++ b/syntax.c
@@ -62,7 +62,7 @@ enum {
enum {
SYNTAX_STATE_TED_CFG_STRING = 0x01u, // ` or "-delimited string
- SYNTAX_STATE_TED_CFG_STRING_BACKTICK = 0x01u, // `-delimited string
+ SYNTAX_STATE_TED_CFG_STRING_BACKTICK = 0x02u, // `-delimited string
};
typedef struct {