Commit c05a2ee3 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

Better colouring of manpage files.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4614 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent cae7aea8
Showing with 7 additions and 6 deletions
+7 -6
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
and also WhereIs and WhereIsNext together in the help lines and also WhereIs and WhereIsNext together in the help lines
of the file browser, and WriteOut and Readfile in the help of the file browser, and WriteOut and Readfile in the help
lines of the main window -- related stuff in one column. lines of the main window -- related stuff in one column.
* doc/syntax/man.nanorc - Better colouring of manpage files.
2014-02-26 Konstantin Abakumov <abakumov@Savannah> (tiny change) 2014-02-26 Konstantin Abakumov <abakumov@Savannah> (tiny change)
* doc/syntax/python.nanorc - Slightly improve the regexes for * doc/syntax/python.nanorc - Slightly improve the regexes for
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
## ##
syntax "man" "\.[1-9]x?$" syntax "man" "\.[1-9]x?$"
magic "troff or preprocessor input text" magic "troff or preprocessor input text"
color green "\.(S|T)H.*$" color green "\.(SH|SS|TH) .*$"
color brightgreen "\.(S|T)H" "\.TP" color brightgreen "\.(SH|SS|TH) " "\.([HIT]P)"
color brightred "\.(BR?|I[PR]?).*$" color brightred "\.(B[IR]?|I[BR]?|R[BI]|S[BM]) .*$"
color brightblue "\.(BR?|I[PR]?|PP)" color brightblue "\.(B[IR]?|I[BR]?|R[BI]|S[BM]) " "\.([LP]?P)$"
color brightwhite "\\f[BIPR]" color magenta "\\f[BIPR]"
color yellow "\.(br|DS|RS|RE|PD)" color yellow "\.(br|DT|RS|RE|PD)"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment