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.

Add comment explaining why AddSurrounds target is not deserializable (#23820)

Michael Sloan43f3491d50d3
diff --git a/crates/vim/src/state.rs b/crates/vim/src/state.rs
index 32c11b2d22e..ddd83f4666b 100644
--- a/crates/vim/src/state.rs
+++ b/crates/vim/src/state.rs
@@ -81,6 +81,7 @@ pub enum Operator {
first_char: Option<char>,
},
AddSurrounds {
+ // Typically no need to configure this as `SendKeystrokes` can be used - see #23088.
#[serde(skip)]
target: Option<SurroundsType>,
},