Commits

Tim Hatch  committed 167798c

Missing commas in vim2pygments (#626)

Patch thanks to gryf

  • Participants
  • Parent commits f90ec02

Comments (0)

Files changed (1)

File scripts/vim2pygments.py

         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):