Skip to content

Commit

Permalink
refactor: tidy codes
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Cherng <jfcherng@gmail.com>
  • Loading branch information
jfcherng committed Jun 12, 2024
1 parent 09067cb commit 250e8ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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()

Expand Down

0 comments on commit 250e8ec

Please sign in to comment.