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.

Fix documentation for use_system_clipboard (#8635)

Tim Havlicek242f032d7484
diff --git a/crates/vim/src/vim.rs b/crates/vim/src/vim.rs
index 6171ed0f982..39fec5d0c8a 100644
--- a/crates/vim/src/vim.rs
+++ b/crates/vim/src/vim.rs
@@ -623,12 +623,15 @@ impl Settings for VimModeSetting {
}
}
-/// Controls the soft-wrapping behavior in the editor.
+/// Controls when to use system clipboard.
#[derive(Copy, Clone, Debug, Serialize, Deserialize, PartialEq, Eq, JsonSchema)]
#[serde(rename_all = "snake_case")]
pub enum UseSystemClipboard {
+ /// Don't use system clipboard.
Never,
+ /// Use system clipboard.
Always,
+ /// Use system clipboard for yank operations.
OnYank,
}