From: Chris Allegretta Date: Sat, 4 May 2002 04:27:06 +0000 (+0000) Subject: Update and space the nanorc.sample a bit better X-Git-Tag: v1.1.9~10 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9dccc48a649aea14c77c2a90ed352b8afe5bd057;p=nano.git Update and space the nanorc.sample a bit better git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1201 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/nanorc.sample b/nanorc.sample index be611711..db0e989a 100644 --- a/nanorc.sample +++ b/nanorc.sample @@ -86,15 +86,21 @@ # color will use a transparent color. If you don't want this, be sure # to set the background color to black or white. # -#syntax "c-file" ".*\.c" ".*\.h" -#color brightred "float " "char " "int " "void " "NULL" "[A-Z_]\{2,\}" -#color brightred "static" "const" "[\ ]struct" "^struct" "if " "while[\ \n\(]" -#color brightred "do[\ \n\(]" "else[\ \n]" "case " "switch " "break;" -#color brightcyan "#define" "#include" "#ifn*def" "#endif" "#elif" "#else" - -#You will in general want your comments and strings to come last, becase -#syntax highlighting rules will be applied in the order they are read in - -#color brightyellow "<.*[^=\ ]*>" "\".*\"" -#color brightblue "//.*" -#color brightblue start="/\*.*" end="\*/" +# syntax "c-file" ".*\.c" ".*\.h" +# color brightred "float " "char " "int " "void " "NULL" "[A-Z_]\{2,\}" +# color brightred "static" "const" "[\ ]struct" "^struct" "if " "while[\ \n\(]" +# color brightred "do[\ \n\(]" "else[\ \n]" "case " "switch " "break;" +# color brightcyan "#define" "#include" "#ifn*def" "#endif" "#elif" "#else" + +# You will in general want your comments and strings to come last, becase +# syntax highlighting rules will be applied in the order they are read in + +# color brightyellow "<.*[^=\ ]*>" "\".*\"" +# color brightblue "//.*" +# color brightblue start="/\*.*" end="\*/" + +# For this you will probably want to set your editor to "nano -Y mutt" +# +# syntax "mutt" +# color green "^>.*" +