1
1

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
Этот коммит содержится в:
David Lawrence Ramsey 2006-05-21 17:51:54 +00:00
родитель 44abeea53c
Коммит 124978a5bc
2 изменённых файлов: 7 добавлений и 11 удалений

Просмотреть файл

@ -343,6 +343,7 @@ CVS code -
- Remove unneeded foreground color for the Java source regex
used to highlight trailing whitespace, since we now support
background colors without foreground colors. (DLR)
- Further simplify the "groff" regexes. (DLR)
- src/Makefile.am:
- If we're uninstalling, remove the "rnano" symlink. (DLR, found
by Benno Schulenberg)

Просмотреть файл

@ -247,27 +247,22 @@
## Here is an example for groff.
##
# syntax "groff" "\.m[ems]$" "\.tmac$" "^tmac." ".rof"
## The argument of .nr or .ds
# color cyan "^\.ds [^[[:space:]]]*"
# color cyan "^\.nr [^[[:space:]]]*"
# syntax "groff" "\.m[ems]$" "\.rof" "\.tmac$" "^tmac."
## The argument of .ds or .nr
# color cyan "^\.(ds|nr) [^[[:space:]]]*"
## Single character escapes
# color brightmagenta "\\."
## Highlight the argument of \f or \s in the same color
# color brightmagenta "\\f."
# color brightmagenta "\\f\(.."
# color brightmagenta "\\s(\+|\-)?[0-9]"
# color brightmagenta "\\f." "\\f\(.." "\\s(\+|\-)?[0-9]"
## \n
# color cyan "(\\|\\\\)n."
# color cyan "(\\|\\\\)n\(.."
# color cyan "(\\|\\\\)n(.|\(..)"
# color cyan start="(\\|\\\\)n\[" end="]"
## Requests
# color brightgreen "^\.[[:space:]]*[^[[:space:]]]*"
## Comments
# color yellow "^\.\\".*$"
## Strings
# color green "(\\|\\\\)\*."
# color green "(\\|\\\\)\*\(.."
# color green "(\\|\\\\)\*(.|\(..)"
# color green start="(\\|\\\\)\*\[" end="]"
## Characters
# color brightred "\\\(.."