summaryrefslogtreecommitdiffstats
path: root/Misc/vgrindefs
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-11-07 19:57:54 (GMT)
committerGuido van Rossum <guido@python.org>1997-11-07 19:57:54 (GMT)
commit93a47d7c3c089c6167eea95ac4a5a44e730b270e (patch)
tree3a9215ef8358046c37ab6e916f1131499f5467f0 /Misc/vgrindefs
parentf51815426e065740386b2a5b81c23832f11e27c7 (diff)
downloadcpython-93a47d7c3c089c6167eea95ac4a5a44e730b270e.zip
cpython-93a47d7c3c089c6167eea95ac4a5a44e730b270e.tar.gz
cpython-93a47d7c3c089c6167eea95ac4a5a44e730b270e.tar.bz2
Plucked this from the net.
Diffstat (limited to 'Misc/vgrindefs')
-rw-r--r--Misc/vgrindefs10
1 files changed, 10 insertions, 0 deletions
diff --git a/Misc/vgrindefs b/Misc/vgrindefs
new file mode 100644
index 0000000..700ee66
--- /dev/null
+++ b/Misc/vgrindefs
@@ -0,0 +1,10 @@
+# vgrind is a prety-printer that takes source code and outputs
+# eye-pleasing postscript. The entry below should be added to your
+# local vgrindefs file.
+
+python|Python|py:\
+ :pb=^\d?(def|class)\d\p(\d|\():\
+ :cb=#:ce=$:sb=":se=\e":lb=':le=\e':\
+ :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: