/Misc/vgrindefs

http://unladen-swallow.googlecode.com/ · #! · 10 lines · 9 code · 1 blank · 0 comment · 0 complexity · 3ba966090cc4c49347c108e53294f35e MD5 · raw file

  1. # vgrind is a pretty-printer that takes source code and outputs
  2. # eye-pleasing postscript. The entry below should be added to your
  3. # local vgrindefs file. Contributed by Neale Pickett <neale@lanl.gov>.
  4. python|Python|py:\
  5. :pb=^\d?(def|class)\d\p(\d|\\|\(|\:):\
  6. :cb=#:ce=$:sb=":se=\e":lb=':le=\e':\
  7. :kw=assert and break class continue def del elif else except\
  8. exec finally for from global if import in is lambda not or\
  9. pass print raise return try while yield: