Skip to content

Commit d015eff

Browse files
fix(helix-view/clipboard): use serde generated name for Win32Yank (#14455)
1 parent a4d7804 commit d015eff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

book/src/editor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
| `indent-heuristic` | How the indentation for a newly inserted line is computed: `simple` just copies the indentation level from the previous line, `tree-sitter` computes the indentation based on the syntax tree and `hybrid` combines both approaches. If the chosen heuristic is not available, a different one will be used as a fallback (the fallback order being `hybrid` -> `tree-sitter` -> `simple`). | `hybrid`
6262
| `jump-label-alphabet` | The characters that are used to generate two character jump labels. Characters at the start of the alphabet are used first. | `"abcdefghijklmnopqrstuvwxyz"`
6363
| `end-of-line-diagnostics` | Minimum severity of diagnostics to render at the end of the line. Set to `disable` to disable entirely. Refer to the setting about `inline-diagnostics` for more details | `"hint"`
64-
| `clipboard-provider` | Which API to use for clipboard interaction. One of `pasteboard` (MacOS), `wayland`, `x-clip`, `x-sel`, `win-32-yank`, `termux`, `tmux`, `windows`, `termcode`, `none`, or a custom command set. | Platform and environment specific. |
64+
| `clipboard-provider` | Which API to use for clipboard interaction. One of `pasteboard` (MacOS), `wayland`, `x-clip`, `x-sel`, `win32-yank`, `termux`, `tmux`, `windows`, `termcode`, `none`, or a custom command set. | Platform and environment specific. |
6565
| `editor-config` | Whether to read settings from [EditorConfig](https://editorconfig.org) files | `true` |
6666
| `rainbow-brackets` | Whether to render rainbow colors for matching brackets. Requires tree-sitter `rainbows.scm` queries for the language. | `false` |
6767
| `kitty-keyboard-protocol` | Whether to enable Kitty Keyboard Protocol. Can be `enabled`, `disabled` or `auto` | `auto` |

helix-view/src/clipboard.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ mod external {
193193
Self::Wayland => builtin_name("wayland", &WL_CLIPBOARD),
194194
Self::XClip => builtin_name("x-clip", &XCLIP),
195195
Self::XSel => builtin_name("x-sel", &XSEL),
196-
Self::Win32Yank => builtin_name("win-32-yank", &WIN32),
196+
Self::Win32Yank => builtin_name("win32-yank", &WIN32),
197197
Self::Tmux => builtin_name("tmux", &TMUX),
198198
Self::Termux => builtin_name("termux", &TERMUX),
199199
#[cfg(windows)]

0 commit comments

Comments
 (0)