summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTim Hatch <tim@timhatch.com>2010-12-20 22:35:49 -0800
committerTim Hatch <tim@timhatch.com>2010-12-20 22:35:49 -0800
commitdc9c1fa7d64358f49228a0fa827b09538188d53c (patch)
treef10504c11fe448641e9464d5e76df529c8c75616 /scripts
parentd584af251c63006a42d316bd8fac177e998ca402 (diff)
downloadpygments-dc9c1fa7d64358f49228a0fa827b09538188d53c.tar.gz
Missing commas in vim2pygments (#626)
Patch thanks to gryf
Diffstat (limited to 'scripts')
-rw-r--r--scripts/vim2pygments.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vim2pygments.py b/scripts/vim2pygments.py
index 1acac14e..80f0ada2 100644
--- a/scripts/vim2pygments.py
+++ b/scripts/vim2pygments.py
@@ -885,10 +885,10 @@ class StyleWriter(object):
if bg_color:
out.write(' background_color = %r\n' % bg_color[0])
out.write(' styles = {\n')
- out.write(' %-20s%r\n' % ('Token:', default_token))
+ out.write(' %-20s%r,\n' % ('Token:', default_token))
for token, definition in tokens:
if definition:
- out.write(' %-20s%r\n' % (token + ':', definition))
+ out.write(' %-20s%r,\n' % (token + ':', definition))
out.write(' }')
def __repr__(self):