Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

vim: Update `:set` (#27805)

5brian7984f0f11c90
diff --git a/crates/vim/src/command.rs b/crates/vim/src/command.rs
index ba6b4bb6a55..b8ec1faf7fa 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(),