From b855cd0cdab8bdb1e7adb24b41a09c9b4ce8c2a6 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Wed, 20 Nov 2024 17:57:57 -0500 Subject: [PATCH] clipboard: Fix builtin_names for x-clip, x-sel, win-32-yank Copy/paste error from #10839 --- helix-view/src/clipboard.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/helix-view/src/clipboard.rs b/helix-view/src/clipboard.rs index 234b91fe3..cd8a4eeb5 100644 --- a/helix-view/src/clipboard.rs +++ b/helix-view/src/clipboard.rs @@ -190,9 +190,9 @@ mod external { // These names should match the config option names from Serde Self::Pasteboard => builtin_name("pasteboard", &PASTEBOARD), Self::Wayland => builtin_name("wayland", &WL_CLIPBOARD), - Self::XClip => builtin_name("x-clip", &WL_CLIPBOARD), - Self::XSel => builtin_name("x-sel", &WL_CLIPBOARD), - Self::Win32Yank => builtin_name("win-32-yank", &WL_CLIPBOARD), + Self::XClip => builtin_name("x-clip", &XCLIP), + Self::XSel => builtin_name("x-sel", &XSEL), + Self::Win32Yank => builtin_name("win-32-yank", &WIN32), Self::Tmux => builtin_name("tmux", &TMUX), Self::Termux => builtin_name("termux", &TERMUX), #[cfg(windows)]