Monnoroch / ColorHighlighter

ColorHighlighter - is a plugin for the Sublime text 2 and 3, which underlays selected hexadecimal colorcodes (like "#FFFFFF", "rgb(255,255,255)", "white", etc.) with their real color. Also, plugin adds color picker to easily modify colors. Documentation: https://monnoroch.github.io/ColorHighlighter.
https://sublime.wbond.net/packages/Color%20Highlighter
1.31k stars 130 forks source link

CH doesn't work with some color schemes #441

Open dortamiguel opened 6 years ago

dortamiguel commented 6 years ago

Im using this color scheme https://labs.voronianski.com/oceanic-next-color-scheme/

It seems like CH is not able to generate a new theme from this one. I'm getting the error

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 210, in on_api_ready
    m.plugin_loaded()
  File "/Users/miguel/Library/Application Support/Sublime Text 3/Packages/ColorHighlighter/main.py", line 606, in plugin_loaded
    ColorHighlighterPlugin.init()
  File "/Users/miguel/Library/Application Support/Sublime Text 3/Packages/ColorHighlighter/main.py", line 319, in init
    ColorHighlighterPlugin._fake_color_scheme = ColorHighlighterPlugin.components.provide_fake_color_scheme()
  File "/Users/miguel/Library/Application Support/Sublime Text 3/Packages/ColorHighlighter/main.py", line 197, in provide_fake_color_scheme
    return self.provide_fake_color_scheme_data()[0]
TypeError: 'NoneType' object is not subscriptable

With other themes just works fine.

I'm on macos 10.13.3 with sublime text 3143