Andrew M. Kuchling | 7b12622 | 2001-08-06 17:42:53 +0000 | [diff] [blame] | 1 | # vgrind is a pretty-printer that takes source code and outputs |
Guido van Rossum | 93a47d7 | 1997-11-07 19:57:54 +0000 | [diff] [blame] | 2 | # eye-pleasing postscript. The entry below should be added to your |
Guido van Rossum | 3120bc3 | 1997-11-08 07:16:19 +0000 | [diff] [blame] | 3 | # local vgrindefs file. Contributed by Neale Pickett <neale@lanl.gov>. |
Guido van Rossum | 93a47d7 | 1997-11-07 19:57:54 +0000 | [diff] [blame] | 4 | |
Guido van Rossum | 3120bc3 | 1997-11-08 07:16:19 +0000 | [diff] [blame] | 5 | python|Python|py:\ |
| 6 | :pb=^\d?(def|class)\d\p(\d|\\|\(|\:):\ |
Guido van Rossum | 93a47d7 | 1997-11-07 19:57:54 +0000 | [diff] [blame] | 7 | :cb=#:ce=$:sb=":se=\e":lb=':le=\e':\ |
Guido van Rossum | 6f5a312 | 1997-11-11 16:36:14 +0000 | [diff] [blame] | 8 | :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. Kuchling | 7b12622 | 2001-08-06 17:42:53 +0000 | [diff] [blame] | 10 | pass print raise return try while yield: |