Permalink
Browse files

settings_base needs to be global as well

  • Loading branch information...
1 parent e8da360 commit 7fcf04fc86777510ab2cb9ad29f397257e98f9fd @johnburnett johnburnett committed with adzenith Feb 5, 2013
Showing with 3 additions and 2 deletions.
  1. +3 −2 word_highlight.py
View
@@ -7,14 +7,15 @@
def plugin_loaded():
+ global settings_base
+ global Pref
+
settings = sublime.load_settings('Word Highlight.sublime-settings')
if int(sublime.version()) >= 2174:
settings_base = sublime.load_settings('Preferences.sublime-settings')
else:
settings_base = sublime.load_settings('Base File.sublime-settings')
- global Pref
-
class Pref:
def load(self):
Pref.color_scope_name = settings.get('color_scope_name', "comment")

0 comments on commit 7fcf04f

Please sign in to comment.