2006-06-01 17:23:28 +00:00
|
|
|
## Here is an example for manpages.
|
2014-05-16 20:21:34 +00:00
|
|
|
|
2006-06-06 22:15:44 +00:00
|
|
|
syntax "man" "\.[1-9]x?$"
|
2011-02-13 04:23:10 +00:00
|
|
|
magic "troff or preprocessor input text"
|
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:]]+$"
|