From 250e8ec1175afc91d79cd3ace782cfa1e0dfbd5b Mon Sep 17 00:00:00 2001 From: Jack Cherng Date: Thu, 13 Jun 2024 02:55:14 +0800 Subject: [PATCH] refactor: tidy codes Signed-off-by: Jack Cherng --- plugin/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin/__init__.py b/plugin/__init__.py index 812038f3..e9511d24 100644 --- a/plugin/__init__.py +++ b/plugin/__init__.py @@ -65,6 +65,7 @@ def plugin_loaded() -> None: + """Executed when this plugin is loaded.""" # somehow "AutoSetSyntaxAppendLogCommand" won't be ready if we don't wait a bit sublime.set_timeout(_plugin_loaded) @@ -86,6 +87,7 @@ def _plugin_loaded() -> None: def plugin_unloaded() -> None: + """Executed when this plugin is unloaded.""" AioSettings.clear_on_change(PLUGIN_NAME) AioSettings.tear_down()