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
commite2383a21ef2abd4725603843b171f76c537a4605 (patch)
tree138836416c696ed39eb3e2bf21f2181981b76814 /bin/hi.c
parentMatch statics and typedefs as Tag (diff)
downloadsrc-e2383a21ef2abd4725603843b171f76c537a4605.tar.gz
src-e2383a21ef2abd4725603843b171f76c537a4605.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 1eff50bd..9b9a430a 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,