]> git.wh0rd.org Git - nano.git/commitdiff
Better colouring of manpage files.
authorBenno Schulenberg <bensberg@justemail.net>
Wed, 26 Feb 2014 21:12:23 +0000 (21:12 +0000)
committerBenno Schulenberg <bensberg@justemail.net>
Wed, 26 Feb 2014 21:12:23 +0000 (21:12 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4614 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
doc/syntax/man.nanorc

index 1c140e12acc45a73c2e4a42c5fabc9911624c043..77611a24cb595319368cd76c93b8cfafbbc281ec 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
        and also WhereIs and WhereIsNext together in the help lines
        of the file browser, and WriteOut and Readfile in the help
        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)
        * doc/syntax/python.nanorc - Slightly improve the regexes for
index 0dfa6febf95de7e8ca6f7e03dd56e357ab9f38aa..e96bb6729d0eeb47115bca31f690fdbae6bb6185 100644 (file)
@@ -2,9 +2,9 @@
 ##
 syntax "man" "\.[1-9]x?$"
 magic "troff or preprocessor input text"
-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)"
+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)"