2006-06-01 21:23:28 +04:00
|
|
|
## Here is an example for manpages.
|
2014-05-17 00:21:34 +04:00
|
|
|
|
2018-02-07 13:25:46 +03:00
|
|
|
syntax man "\.[1-9]x?$"
|
2017-11-19 13:10:53 +03:00
|
|
|
magic "troff or preprocessor input"
|
2017-07-06 22:35:07 +03:00
|
|
|
comment ".\""
|
2014-05-17 00:21:34 +04:00
|
|
|
|
2018-11-03 23:12:44 +03:00
|
|
|
color green "\.(SH|SS|TH) .*"
|
2014-02-27 01:12:23 +04:00
|
|
|
color brightgreen "\.(SH|SS|TH) " "\.([HIT]P)"
|
2018-11-03 23:12:44 +03:00
|
|
|
color brightred "\.(B[IR]?|I[BR]?|R[BI]|S[BM]) .*"
|
2014-02-27 01:12:23 +04:00
|
|
|
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-17 00:21:34 +04:00
|
|
|
|
2014-05-12 22:10:08 +04:00
|
|
|
# Comments.
|
2018-11-03 23:12:44 +03:00
|
|
|
color cyan "\.?\\\".*"
|
2014-05-17 00:21:34 +04:00
|
|
|
|
2014-05-12 22:10:08 +04:00
|
|
|
# Trailing whitespace.
|
|
|
|
color ,green "[[:space:]]+$"
|