n1k0 / SublimeHighlight

A humble SublimeText package for exporting highlighted code as RTF or HTML

Home Page:https://github.com/n1k0/SublimeHighlight

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Syntax Error on Formatters

sfatih opened this issue · comments

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