Пример #1
0
def plugin_loaded():  # noqa: D401
    """Called when plugin has finished loading."""
    _remove_old_user_settings()
    debug = Settings(sublime.load_settings(COLOR_HIGHLIGHTER_SETTINGS_NAME)).debug
    if debug:
        print("ColorHighlighter: action=start st=%s" % (st_helper.st_version()))
    ColorHighlighterPlugin.init()
Пример #2
0
def plugin_loaded():  # noqa: D401
    """Called when plugin has finished loading."""
    _remove_old_user_settings()
    debug = Settings(sublime.load_settings(COLOR_HIGHLIGHTER_SETTINGS_NAME)).debug
    if debug:
        print("ColorHighlighter: action=start st=%s" % (st_helper.st_version()))
    ColorHighlighterPlugin.init()
Пример #3
0
def plugin_unloaded():  # noqa: D401
    """Called when plugin is getting unloaded."""
    if Settings(sublime.load_settings(COLOR_HIGHLIGHTER_SETTINGS_NAME)).debug:
        print("ColorHighlighter: action=stop st=%s" % (st_helper.st_version()))
    ColorHighlighterPlugin.deinit()
Пример #4
0
def plugin_unloaded():  # noqa: D401
    """Called when plugin is getting unloaded."""
    if Settings(sublime.load_settings(COLOR_HIGHLIGHTER_SETTINGS_NAME)).debug:
        print("ColorHighlighter: action=stop st=%s" % (st_helper.st_version()))
    ColorHighlighterPlugin.deinit()