2006-06-01 21:23:28 +04:00
|
|
|
## Here is an example for manpages.
|
2014-05-17 00:21:34 +04:00
|
|
|
|
2006-06-07 02:15:44 +04: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
|
|
|
|
2014-02-27 01:12:23 +04: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-17 00:21:34 +04:00
|
|
|
|
2014-05-12 22:10:08 +04:00
|
|
|
# Comments.
|
|
|
|
color cyan "\.?\\\".*$"
|
2014-05-17 00:21:34 +04:00
|
|
|
|
2014-05-12 22:10:08 +04:00
|
|
|
# Trailing whitespace.
|
|
|
|
color ,green "[[:space:]]+$"
|