Commit 124978a5 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

in nanorc.sample, further simplify the "groff" regexes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3538 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 44abeea5
Showing with 7 additions and 11 deletions
+7 -11
...@@ -343,6 +343,7 @@ CVS code - ...@@ -343,6 +343,7 @@ CVS code -
- Remove unneeded foreground color for the Java source regex - Remove unneeded foreground color for the Java source regex
used to highlight trailing whitespace, since we now support used to highlight trailing whitespace, since we now support
background colors without foreground colors. (DLR) background colors without foreground colors. (DLR)
- Further simplify the "groff" regexes. (DLR)
- src/Makefile.am: - src/Makefile.am:
- If we're uninstalling, remove the "rnano" symlink. (DLR, found - If we're uninstalling, remove the "rnano" symlink. (DLR, found
by Benno Schulenberg) by Benno Schulenberg)
......
...@@ -247,27 +247,22 @@ ...@@ -247,27 +247,22 @@
## Here is an example for groff. ## Here is an example for groff.
## ##
# syntax "groff" "\.m[ems]$" "\.tmac$" "^tmac." ".rof" # syntax "groff" "\.m[ems]$" "\.rof" "\.tmac$" "^tmac."
## The argument of .nr or .ds ## The argument of .ds or .nr
# color cyan "^\.ds [^[[:space:]]]*" # color cyan "^\.(ds|nr) [^[[:space:]]]*"
# color cyan "^\.nr [^[[:space:]]]*"
## Single character escapes ## Single character escapes
# color brightmagenta "\\." # color brightmagenta "\\."
## Highlight the argument of \f or \s in the same color ## Highlight the argument of \f or \s in the same color
# color brightmagenta "\\f." # color brightmagenta "\\f." "\\f\(.." "\\s(\+|\-)?[0-9]"
# color brightmagenta "\\f\(.."
# color brightmagenta "\\s(\+|\-)?[0-9]"
## \n ## \n
# color cyan "(\\|\\\\)n." # color cyan "(\\|\\\\)n(.|\(..)"
# color cyan "(\\|\\\\)n\(.."
# color cyan start="(\\|\\\\)n\[" end="]" # color cyan start="(\\|\\\\)n\[" end="]"
## Requests ## Requests
# color brightgreen "^\.[[:space:]]*[^[[:space:]]]*" # color brightgreen "^\.[[:space:]]*[^[[:space:]]]*"
## Comments ## Comments
# color yellow "^\.\\".*$" # color yellow "^\.\\".*$"
## Strings ## Strings
# color green "(\\|\\\\)\*." # color green "(\\|\\\\)\*(.|\(..)"
# color green "(\\|\\\\)\*\(.."
# color green start="(\\|\\\\)\*\[" end="]" # color green start="(\\|\\\\)\*\[" end="]"
## Characters ## Characters
# color brightred "\\\(.." # color brightred "\\\(.."
......
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