diff options
author | Tim Hatch <tim@timhatch.com> | 2010-12-20 22:35:49 -0800 |
---|---|---|
committer | Tim Hatch <tim@timhatch.com> | 2010-12-20 22:35:49 -0800 |
commit | dc9c1fa7d64358f49228a0fa827b09538188d53c (patch) | |
tree | f10504c11fe448641e9464d5e76df529c8c75616 /scripts | |
parent | d584af251c63006a42d316bd8fac177e998ca402 (diff) | |
download | pygments-dc9c1fa7d64358f49228a0fa827b09538188d53c.tar.gz |
Missing commas in vim2pygments (#626)
Patch thanks to gryf
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/vim2pygments.py | 4 |
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): |