blob: 3e6d8a4629a4550fd18e3762da6e0ba6a207de14 [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\
Georg Brandl7cae87c2006-09-06 06:51:57 +00009 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: