]>
Commit | Line | Data |
---|---|---|
5e993f12 | 1 | Index: doc/syntax/python.nanorc |
2 | =================================================================== | |
3 | RCS file: /cvsroot/nano/nano/doc/syntax/python.nanorc,v | |
4 | retrieving revision 1.1 | |
5 | diff -u -p -r1.1 python.nanorc | |
6 | --- doc/syntax/python.nanorc 1 Jun 2006 17:23:28 -0000 1.1 | |
7 | +++ doc/syntax/python.nanorc 24 Dec 2006 11:37:31 -0000 | |
8 | @@ -3,6 +3,7 @@ | |
9 | syntax "python" "\.py$" | |
10 | icolor brightblue "def [0-9A-Z_]+" | |
11 | color brightcyan "\<(and|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|map|not|or|pass|print|raise|return|try|while)\>" | |
12 | -color brightgreen "["'].*[^\\]["']" "["']{3}.*[^\\]["']{3}" | |
13 | +color brightgreen "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}" | |
14 | +color brightgreen "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}" | |
15 | color brightgreen start=""""[^"]" end=""""" start="'''[^']" end="'''" | |
16 | color brightred "#.*$" |