blob: bc6eba1752406a8d3da3d5ea1e420385b1b9f736 [file] [log] [blame]
Andrew M. Kuchling7b126222001-08-06 17:42:53 +00001# vgrind is a pretty-printer that takes source code and outputs
Guido van Rossum93a47d71997-11-07 19:57:54 +00002# eye-pleasing postscript. The entry below should be added to your
Guido van Rossum3120bc31997-11-08 07:16:19 +00003# local vgrindefs file. Contributed by Neale Pickett <neale@lanl.gov>.
Guido van Rossum93a47d71997-11-07 19:57:54 +00004
Guido van Rossum3120bc31997-11-08 07:16:19 +00005python|Python|py:\
6 :pb=^\d?(def|class)\d\p(\d|\\|\(|\:):\
Guido van Rossum93a47d71997-11-07 19:57:54 +00007 :cb=#:ce=$:sb=":se=\e":lb=':le=\e':\
Guido van Rossum6f5a3121997-11-11 16:36:14 +00008 :kw=assert and break class continue def del elif else except\
9 exec finally for from global if import in is lambda not or\
Andrew M. Kuchling7b126222001-08-06 17:42:53 +000010 pass print raise return try while yield: