Skip to content

Commit

Permalink
fix 3.8 compatibility by not using named argument in set_timeout_async
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl committed Aug 29, 2022
1 parent 7e34258 commit eebaa3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boot.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def on_pre_move(self, view: sublime.View) -> None:
for listener in listeners:
if isinstance(listener, DocumentSyncListener):
# we need a small delay here, so that the DocumentSyncListener will recognize a possible new window
sublime.set_timeout_async(listener.on_post_move_window_async, timeout_ms=1)
sublime.set_timeout_async(listener.on_post_move_window_async, 1)
return

def on_load(self, view: sublime.View) -> None:
Expand Down

0 comments on commit eebaa3b

Please sign in to comment.