diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2015-03-23 03:49:03 +0000 |
---|---|---|
committer | <> | 2015-03-25 17:06:51 +0000 |
commit | fb040ea36cb8e2158ccd9100600652f94ae90af1 (patch) | |
tree | dba72a74e84a997c23fa0af7c07a4d831be2deb7 /doc/syntax/man.nanorc | |
parent | 8b74abeb02c01ddc768c465a826360cf33cec063 (diff) | |
download | nano-tarball-master.tar.gz |
Imported from /home/lorry/working-area/delta_nano-tarball/nano-2.4.0.tar.gz.HEADnano-2.4.0master
Diffstat (limited to 'doc/syntax/man.nanorc')
-rw-r--r-- | doc/syntax/man.nanorc | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/doc/syntax/man.nanorc b/doc/syntax/man.nanorc index 85efd26..6c296bb 100644 --- a/doc/syntax/man.nanorc +++ b/doc/syntax/man.nanorc @@ -1,9 +1,17 @@ ## Here is an example for manpages. -## + syntax "man" "\.[1-9]x?$" -color green "\.(S|T)H.*$" -color brightgreen "\.(S|T)H" "\.TP" -color brightred "\.(BR?|I[PR]?).*$" -color brightblue "\.(BR?|I[PR]?|PP)" -color brightwhite "\\f[BIPR]" -color yellow "\.(br|DS|RS|RE|PD)" +magic "troff or preprocessor input text" + +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)" + +# Comments. +color cyan "\.?\\\".*$" + +# Trailing whitespace. +color ,green "[[:space:]]+$" |