summary refs log tree commit diff
path: root/bin/hi.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-02-18 18:07:25 -0500
committerJune McEnroe <june@causal.agency>2019-02-18 18:07:25 -0500
commit53751f31fce9b0c2fc6c8bb4be9195f0ce546cf9 (patch)
tree7c94d87d53812bfcc681a3111885d9a65f394d05 /bin/hi.c
parentMatch statics and typedefs as Tag (diff)
downloadsrc-53751f31fce9b0c2fc6c8bb4be9195f0ce546cf9.tar.gz
src-53751f31fce9b0c2fc6c8bb4be9195f0ce546cf9.zip
Match Sh and Ss as Tag in mdoc
Diffstat (limited to 'bin/hi.c')
-rw-r--r--bin/hi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/hi.c b/bin/hi.c
index e36d1467..98bb7697 100644
--- a/bin/hi.c
+++ b/bin/hi.c
@@ -168,6 +168,8 @@ static const struct Syntax MdocSyntax[] = {
 		"|" "(Br|[ABDPQS])[coq]|E[co]"
 		"|" "At|(Bs|[BDEFNO])x|Rv|St"
 		")" WB },
+	{ Tag, .subexp = 1,
+		.pattern = "^[.]S[hs]" BL1 "(.+)" },
 	{ String,
 		.pattern = PATTERN_DQ },
 	{ Normal,