blob: 82ac19b8acda85b8355196e7f32889c29959fc16 [file] [log] [blame]
Guido van Rossum93a47d71997-11-07 19:57:54 +00001# vgrind is a prety-printer that takes source code and outputs
2# 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\
10 pass print raise return try while: