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
This commit is contained in:
5brian
2025-03-31 19:00:11 -06:00
committed by GitHub
parent 37ebb47238
commit 7984f0f11c
+1 -1
View File
@@ -92,7 +92,7 @@ impl VimOption {
CommandInterceptResult {
string: format!(
"set {}",
":set {}",
options.iter().map(|opt| opt.to_string()).join(" ")
),
action: VimSet { options }.boxed_clone(),