Skip to content

Commit

Permalink
No need to namespace local settings.
Browse files Browse the repository at this point in the history
- I was reusing the ‘reload’ keyword in a couple of plugins on
Sublime’s preference settings file.  Took me a bit to make this
connection.  This would cause one of the plugin’s not to reload tooltip
theme on scheme change.
  • Loading branch information
facelessuser committed Mar 9, 2015
1 parent 5a20b73 commit 4ee8f3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scope_hunter.py
Original file line number Diff line number Diff line change
Expand Up @@ -739,8 +739,8 @@ def init_plugin():
pref_settings.clear_on_change('scopehunter_reload')
pref_settings.add_on_change('scopehunter_reload', reinit_plugin)

sh_settings.clear_on_change('scopehunter_reload')
sh_settings.add_on_change('scopehunter_reload', sh_theme.setup)
sh_settings.clear_on_change('reload')
sh_settings.add_on_change('reload', sh_theme.setup)

# Setup thread
if sh_thread is not None:
Expand Down

0 comments on commit 4ee8f3c

Please sign in to comment.