mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 02:11:33 +00:00
Update vim.clipboard.registers type to str
nvf.settings.vim.clipboard.registers allows for either a string or a list of strings, but Neovim only accepts a string value. Solved by updating the type to allow strings only.
This commit is contained in:
parent
f9ee813a23
commit
b79a5b1dcb
1 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@ in {
|
|||
'';
|
||||
|
||||
registers = mkOption {
|
||||
type = either str (listOf str);
|
||||
type = str;
|
||||
default = "";
|
||||
example = "unnamedplus";
|
||||
description = ''
|
||||
|
@ -33,8 +33,8 @@ in {
|
|||
`"+"` ({command}`:h quoteplus`) instead of register `"*"` for all yank, delete,
|
||||
change and put operations which would normally go to the unnamed register.
|
||||
|
||||
When `unnamed` and `unnamedplus` is included simultaneously yank and delete
|
||||
operations (but not put) will additionally copy the text into register `"*"`.
|
||||
When `unnamed` and `unnamedplus` is included simultaneously as `"unnamed,unnamedplus"`,
|
||||
yank and delete operations (but not put) will additionally copy the text into register `"*"`.
|
||||
|
||||
Please see {command}`:h clipboard` for more details.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue