aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src')
-rw-r--r--helix-term/src/application.rs2
-rw-r--r--helix-term/src/commands/typed.rs1
2 files changed, 3 insertions, 0 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index a9e25d08..2c1047da 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -310,6 +310,8 @@ impl Application {
self.render();
}
event = self.editor.wait_event() => {
+ log::debug!("received editor event: {:?}", event);
+
match event {
EditorEvent::DocumentSave(event) => {
self.handle_document_write(event);
diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs
index d82dd7fe..375e7b4f 100644
--- a/helix-term/src/commands/typed.rs
+++ b/helix-term/src/commands/typed.rs
@@ -151,6 +151,7 @@ fn buffer_close(
}
let document_ids = buffer_gather_paths_impl(cx.editor, args);
+ log::debug!("closing buffers: {:?}", document_ids);
buffer_close_by_ids_impl(cx.editor, &document_ids, false)
}