Ctrl-X, for consistency with the file browser. (DLR)
- nanorc.sample:
- Add sample regexes for patch files. (Mike Frysinger)
+ - Various improvements to the "c-file" regexes. Add double,
+ typedef, extern, union, unsigned, inline, and long to the
+ green list. (Mike Frysinger) DLR: Also add signed, short, and
+ enum to the green list.
GNU nano 1.3.3 - 2004.06.28
- General:
##
# syntax "c-file" "\.(c|h)$"
# color red "\<[A-Z_]{2,}\>"
-# color green "\<(float|char|int|void|static|const|struct)\>"
-# color brightyellow "\<(if|while|do|else|case|switch)\>"
-# color brightcyan "^ *# *(define|include|ifn?def|endif|elif|else|if)"
+# 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|break)\>"
+# color brightcyan "^ *# *(define|undef|include|ifn?def|endif|elif|else|if)"
##
## You will in general want your comments and strings to come last,
## because syntax highlighting rules will be applied in the order they