From ee3eb4057a1c8a0c979371674451105ac5453b58 Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Sun, 12 Dec 2021 22:05:11 +0800 Subject: Update macro display as [q] in message --- helix-term/src/commands.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index d0a94160..fdc242fe 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -6020,12 +6020,12 @@ fn record_macro(cx: &mut Context) { .join(" "); cx.editor.registers.get_mut(reg).write(vec![s]); cx.editor - .set_status(format!("Recorded to register {}", reg)); + .set_status(format!("Recorded to register [{}]", reg)); } else { let reg = cx.register.take().unwrap_or('@'); cx.editor.macro_recording = Some((reg, Vec::new())); cx.editor - .set_status(format!("Recording to register {}", reg)); + .set_status(format!("Recording to register [{}]", reg)); } } -- cgit v1.2.3-70-g09d2