home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / share / nano / python.nanorc < prev    next >
Encoding:
Text File  |  2007-02-07  |  428 b   |  9 lines

  1. ## Here is an example for Python.
  2. ##
  3. syntax "python" "\.py$"
  4. icolor brightblue "def [0-9A-Z_]+"
  5. 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)\>"
  6. color brightgreen "["'].*[^\\]["']" "["']{3}.*[^\\]["']{3}"
  7. color brightgreen start=""""[^"]" end=""""" start="'''[^']" end="'''"
  8. color brightred "#.*$"
  9.