Beispiel #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()
Beispiel #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()
Beispiel #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()
Beispiel #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()