summaryrefslogtreecommitdiff
path: root/scripts/vim2pygments.py
diff options
context:
space:
mode:
authorblackbird <devnull@localhost>2006-11-14 18:52:18 +0100
committerblackbird <devnull@localhost>2006-11-14 18:52:18 +0100
commit2ccfc8f288ec252681ca4709579eab305f19f012 (patch)
tree7a869527c8dfad3b7681ef664c33f53ce2e246dd /scripts/vim2pygments.py
parente85200c75b57d67ad192e425c7690c8ecb4ecca9 (diff)
downloadpygments-2ccfc8f288ec252681ca4709579eab305f19f012.tar.gz
[svn] added missing lexers to pygments docs, svn ignored "*.pyc"
Diffstat (limited to 'scripts/vim2pygments.py')
-rw-r--r--scripts/vim2pygments.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/vim2pygments.py b/scripts/vim2pygments.py
index 7402b082..57d506da 100644
--- a/scripts/vim2pygments.py
+++ b/scripts/vim2pygments.py
@@ -858,7 +858,7 @@ def find_colors(code):
for token in tokens:
color_map[token] = ' '.join(tmp)
- default_token = color_map.pop('', '')
+ default_token = color_map.pop('')
return default_token, color_map
@@ -867,7 +867,6 @@ class StyleWriter(object):
def __init__(self, code, name):
self.code = code
self.name = name.lower()
- self.styles = {}
def write_header(self, out):
out.write('# -*- coding: utf-8 -*-\n"""\n')