diff options
author | June McEnroe <june@causal.agency> | 2019-02-18 18:07:25 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-02-18 18:07:25 -0500 |
commit | e2383a21ef2abd4725603843b171f76c537a4605 (patch) | |
tree | 138836416c696ed39eb3e2bf21f2181981b76814 | |
parent | Match statics and typedefs as Tag (diff) | |
download | src-e2383a21ef2abd4725603843b171f76c537a4605.tar.gz src-e2383a21ef2abd4725603843b171f76c537a4605.zip |
Match Sh and Ss as Tag in mdoc
-rw-r--r-- | bin/hi.c | 2 |
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, |