n1k0 / SublimeHighlight

A humble SublimeText package for exporting highlighted code as RTF or HTML
https://github.com/n1k0/SublimeHighlight
MIT License
788 stars 105 forks source link

Syntax Error on Formatters #69

Open sfatih opened 8 years ago

sfatih commented 8 years ago

Copy as RTF is disabled in contax menu. I think that syntax error causes that.

Reloading plugin C:\Users\SemihFatih\AppData\Roaming\Sublime Text 2\Packages\SublimeHighlight\SublimeHighlight.py
Traceback (most recent call last):
  File ".\sublime_plugin.py", line 62, in reload_plugin
  File ".\SublimeHighlight.py", line 15, in <module>
    import pygments.formatters
  File "./HighlightLib\pygments\formatters\__init__.py", line 14, in <module>
    from pygments.formatters._mapping import FORMATTERS
  File "./HighlightLib\pygments\formatters\_mapping.py", line 18, in <module>
    from pygments.formatters.html import HtmlFormatter
  File "./HighlightLib\pygments\formatters\html.py", line 509
    'using current directory as base for the CSS file name', file=sys.stderr)
                                                                 ^
SyntaxError: invalid syntax