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

[ret = self.is_checked(**args)] Works when it feels like it lol #443

Open roblav96 opened 6 years ago

roblav96 commented 6 years ago

This error occasionally spams my console when I open a highlightable file:

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 879, in is_checked_
    ret = self.is_checked(**args)
  File "set_setting_command in /Users/----/Library/Application Support/Sublime Text 3/Installed Packages/Color Highlighter.sublime-package", line 144, in is_checked
  File "set_setting_command in /Users/----/Library/Application Support/Sublime Text 3/Installed Packages/Color Highlighter.sublime-package", line 206, in _get_setting
KeyError: 'color_highlighters'
...

It's strange because sometimes it'll work, other time's it just wont. I find that quickly toggling my color scheme can resolve it sometimes.

startup, version: 3157 osx x64 channel: dev

dortamiguel commented 6 years ago

Im getting the same