From 7984f0f11c900cc397d42bf1f2f4c33b72178f93 Mon Sep 17 00:00:00 2001 From: 5brian Date: Mon, 31 Mar 2025 21:00:11 -0400 Subject: [PATCH] vim: Update `:set` (#27805) Update VimSet commands to better match the other commands by displaying the leading `:`: |Before|After| |--|--| |![image](https://github.com/user-attachments/assets/1bc21a06-e71f-4e40-90a7-ffdd903fd7b5)|![image](https://github.com/user-attachments/assets/df59279f-d454-4701-8330-2529506850cd)| Release Notes: - N/A --- crates/vim/src/command.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/vim/src/command.rs b/crates/vim/src/command.rs index ba6b4bb6a5..b8ec1faf7f 100644 --- a/crates/vim/src/command.rs +++ b/crates/vim/src/command.rs @@ -92,7 +92,7 @@ impl VimOption { CommandInterceptResult { string: format!( - "set {}", + ":set {}", options.iter().map(|opt| opt.to_string()).join(" ") ), action: VimSet { options }.boxed_clone(),