mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-25 22:29:42 +03:00
add support for characters to the "c-file" regexes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2292 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
122ae849b8
commit
159bdfdc60
@ -282,6 +282,7 @@ CVS code -
|
|||||||
characters 128-255 aren't ASCII. (DLR, suggested by Michael
|
characters 128-255 aren't ASCII. (DLR, suggested by Michael
|
||||||
Piefel)
|
Piefel)
|
||||||
- Add the "morespace" option. (DLR)
|
- Add the "morespace" option. (DLR)
|
||||||
|
- Add support for characters to the "c-file" regexes. (DLR)
|
||||||
- nano.1. nanorc.5, nano.texi:
|
- nano.1. nanorc.5, nano.texi:
|
||||||
- Add the "morespace" option, and sync with the descriptions in
|
- Add the "morespace" option, and sync with the descriptions in
|
||||||
nanorc.sample in a few places. (DLR)
|
nanorc.sample in a few places. (DLR)
|
||||||
|
@ -144,6 +144,7 @@
|
|||||||
# color green "\<(float|double|char|int|short|long|enum|void|static|const|struct|union|typedef|extern|signed|unsigned|inline)\>"
|
# color green "\<(float|double|char|int|short|long|enum|void|static|const|struct|union|typedef|extern|signed|unsigned|inline)\>"
|
||||||
# color brightyellow "\<(for|if|while|do|else|case|switch|goto|continue|break|return)\>"
|
# color brightyellow "\<(for|if|while|do|else|case|switch|goto|continue|break|return)\>"
|
||||||
# color brightcyan "^ *# *(define|undef|include|ifn?def|endif|elif|else|if)"
|
# color brightcyan "^ *# *(define|undef|include|ifn?def|endif|elif|else|if)"
|
||||||
|
# color brightmagenta "'([^\]|(\\['abfnrtv\\]))'" "'\\(([0-7][0-7]?)|([0-3][0-7][0-7]))'" "'\\x[0-9A-Fa-f][0-9A-Fa-f]?'"
|
||||||
##
|
##
|
||||||
## You will in general want your comments and strings to come last,
|
## You will in general want your comments and strings to come last,
|
||||||
## because syntax highlighting rules will be applied in the order they
|
## because syntax highlighting rules will be applied in the order they
|
||||||
|
Loading…
Reference in New Issue
Block a user