mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-12-20 19:50:04 +01:00
Merge pull request #975 from vaclavek-kamil/patch-1
Update vim.clipboard.registers type to str
This commit is contained in:
commit
5bad5dd94c
1 changed files with 3 additions and 3 deletions
|
|
@ -20,7 +20,7 @@ in {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
registers = mkOption {
|
registers = mkOption {
|
||||||
type = either str (listOf str);
|
type = str;
|
||||||
default = "";
|
default = "";
|
||||||
example = "unnamedplus";
|
example = "unnamedplus";
|
||||||
description = ''
|
description = ''
|
||||||
|
|
@ -33,8 +33,8 @@ in {
|
||||||
`"+"` ({command}`:h quoteplus`) instead of register `"*"` for all yank, delete,
|
`"+"` ({command}`:h quoteplus`) instead of register `"*"` for all yank, delete,
|
||||||
change and put operations which would normally go to the unnamed register.
|
change and put operations which would normally go to the unnamed register.
|
||||||
|
|
||||||
When `unnamed` and `unnamedplus` is included simultaneously yank and delete
|
When `unnamed` and `unnamedplus` is included simultaneously as `"unnamed,unnamedplus"`,
|
||||||
operations (but not put) will additionally copy the text into register `"*"`.
|
yank and delete operations (but not put) will additionally copy the text into register `"*"`.
|
||||||
|
|
||||||
Please see {command}`:h clipboard` for more details.
|
Please see {command}`:h clipboard` for more details.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue