tconf.h: update syntax highlighting rules for neatmail summaries - neatvi - [fork] simple vi-type editor with UTF-8 support
(HTM) git clone git://src.adamsgaard.dk/neatvi
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit 4f6be8c78d2b66545cbae8696af0e2ca66f4efcb
(DIR) parent 4cb1cd3990fc9abf27d4c796825b7e080e1e8aea
(HTM) Author: Ali Gholami Rudi <ali@rudi.ir>
Date: Sun, 19 Jan 2020 20:19:48 +0330
conf.h: update syntax highlighting rules for neatmail summaries
Diffstat:
M conf.h | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
(DIR) diff --git a/conf.h b/conf.h
t@@ -65,13 +65,13 @@ static struct highlight {
{"sh", {4}, "\'[^\']*\'"},
/* neatmail */
- {"nm", {0, 12 | SYN_BD, 12 | SYN_BD, 2, 8 | SYN_BD},
+ {"nm", {0 | SYN_BGMK(15), 6 | SYN_BD, 12 | SYN_BD, 5, 8 | SYN_BD},
"^([ROU])([0-9]+)\t([^\t]*)\t([^\t]*)"},
- {"nm", {7}, "^[LJ].*$"},
- {"nm", {0 | SYN_BD | SYN_BGMK(13)}, "^[HT].*$"},
- {"nm", {0 | SYN_BD | SYN_BGMK(11)}, "^[MI].*$"},
- {"nm", {0 | SYN_BD | SYN_BGMK(12)}, "^[N].*$"},
- {"nm", {0 | SYN_BD | SYN_BGMK(10)}, "^[F].*$"},
+ {"nm", {0 | SYN_BD | SYN_BGMK(6)}, "^[N].*$"},
+ {"nm", {0 | SYN_BD | SYN_BGMK(13)}, "^[A-Z][HT].*$"},
+ {"nm", {0 | SYN_BD | SYN_BGMK(11)}, "^[A-Z][MI].*$"},
+ {"nm", {7 | SYN_BGMK(15)}, "^[A-Z][LJ].*$"},
+ {"nm", {0 | SYN_BD | SYN_BGMK(7)}, "^[F].*$"},
{"nm", {7 | SYN_IT}, "^\t.*$"},
{"nm", {SYN_BD}, "^:.*$"},