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