From 95ab18d581382eb60e1d3c5cb1b2fa49fff88adf Mon Sep 17 00:00:00 2001 From: Eero Helenius Date: Fri, 26 Jan 2024 14:19:17 +0200 Subject: [PATCH] Revert "Auto-close temp file views after a minute" This reverts commit cff407e91ffa41865a768229b3ad0f20cc378e2e. --- src/core.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/core.py b/src/core.py index c3e78df3..f23f6284 100644 --- a/src/core.py +++ b/src/core.py @@ -112,9 +112,6 @@ class TemporaryFileEventListener(ViewEventListener): def is_applicable(_, settings): return settings.has("tutkain_temp_file") - def on_deactivated(self): - sublime.set_timeout_async(lambda: self.view.close(), 60000) - def on_load_async(self): try: if temp_file := self.view.settings().get("tutkain_temp_file"):