1997-11-07 19:57:54 +00:00
|
|
|
# vgrind is a prety-printer that takes source code and outputs
|
|
|
|
# eye-pleasing postscript. The entry below should be added to your
|
1997-11-08 07:16:19 +00:00
|
|
|
# local vgrindefs file. Contributed by Neale Pickett <neale@lanl.gov>.
|
1997-11-07 19:57:54 +00:00
|
|
|
|
1997-11-08 07:16:19 +00:00
|
|
|
python|Python|py:\
|
|
|
|
:pb=^\d?(def|class)\d\p(\d|\\|\(|\:):\
|
1997-11-07 19:57:54 +00:00
|
|
|
:cb=#:ce=$:sb=":se=\e":lb=':le=\e':\
|
1997-11-08 07:16:19 +00:00
|
|
|
:kw=and assert break class continue def del elif else except\
|
|
|
|
exec finally for from global if import in is lambda not or\
|
|
|
|
pass print raise return try while:
|