Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

settings_base needs to be global as well

  • Loading branch information...
commit 7fcf04fc86777510ab2cb9ad29f397257e98f9fd 1 parent e8da360
@johnburnett johnburnett authored adzenith committed
Showing with 3 additions and 2 deletions.
  1. +3 −2 word_highlight.py
View
5 word_highlight.py
@@ -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")
Please sign in to comment.
Something went wrong with that request. Please try again.