diff options
| author | blackbird <blackbird@localhost> | 2006-11-14 18:52:18 +0100 |
|---|---|---|
| committer | blackbird <blackbird@localhost> | 2006-11-14 18:52:18 +0100 |
| commit | 985a8920654c51969918a141b53467600d2ec9dc (patch) | |
| tree | 7a869527c8dfad3b7681ef664c33f53ce2e246dd /scripts | |
| parent | 8b9d7543801d7684a454f995ab468f92354b2044 (diff) | |
| download | pygments-git-985a8920654c51969918a141b53467600d2ec9dc.tar.gz | |
[svn] added missing lexers to pygments docs, svn ignored "*.pyc"
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/vim2pygments.py | 3 |
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') |
