blob: f3fc8435b8173acb7e83f8b9f3fbfa52578cad0e [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 Rossum3120bc31997-11-08 07:16:19 +00008 :kw=and assert 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: