def restore_setting(name, value): config = sublime.load_settings(CONFIG_NAME) config.set(name, value) sublime.save_settings(CONFIG_NAME)