2006-06-01 17:23:28 +00:00
|
|
|
## Here is an example for manpages.
|
2014-05-16 20:21:34 +00:00
|
|
|
|
2018-02-07 10:25:46 +00:00
|
|
|
syntax man "\.[1-9]x?$"
|
2017-11-19 10:10:53 +00:00
|
|
|
magic "troff or preprocessor input"
|
2017-07-06 19:35:07 +00:00
|
|
|
comment ".\""
|
2014-05-16 20:21:34 +00:00
|
|
|
|
2014-02-26 21:12:23 +00:00
|
|
|
color green "\.(SH|SS|TH) .*$"
|
|
|
|
color brightgreen "\.(SH|SS|TH) " "\.([HIT]P)"
|
|
|
|
color brightred "\.(B[IR]?|I[BR]?|R[BI]|S[BM]) .*$"
|
|
|
|
color brightblue "\.(B[IR]?|I[BR]?|R[BI]|S[BM]) " "\.([LP]?P)$"
|
|
|
|
color magenta "\\f[BIPR]"
|
|
|
|
color yellow "\.(br|DT|RS|RE|PD)"
|
2014-05-16 20:21:34 +00:00
|
|
|
|
2014-05-12 18:10:08 +00:00
|
|
|
# Comments.
|
|
|
|
color cyan "\.?\\\".*$"
|
2014-05-16 20:21:34 +00:00
|
|
|
|
2014-05-12 18:10:08 +00:00
|
|
|
# Trailing whitespace.
|
|
|
|
color ,green "[[:space:]]+$"
|