From ae89780d6e75f6470354ef7d35e979bb0ab56aa5 Mon Sep 17 00:00:00 2001
From: cschen <camillo.schenone@gmail.com>
Date: Mon, 17 Feb 2025 22:59:05 +0100
Subject: [PATCH] adds message on successfull detachment.

---
 plugin/commands/workspace.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/plugin/commands/workspace.py b/plugin/commands/workspace.py
index 83892e8..8a2d518 100644
--- a/plugin/commands/workspace.py
+++ b/plugin/commands/workspace.py
@@ -107,6 +107,8 @@ class CodempLeaveBufferCommand(sublime_plugin.WindowCommand):
             finally:
                 if not vws.handle.detach_buffer(buffer_id):
                     logger.error(f"could not leave the buffer {buffer_id}.")
+                else:
+                    logger.debug(f"successfully detached from {buffer_id}.")
         sublime.set_timeout_async(_)
 
 # Leave Buffer Comand