modules/clipboard: allow raw lua code in register option

This commit is contained in:
Heitor Augusto 2024-11-15 15:26:50 -03:00 committed by nix-infra-bot
parent 5095066df6
commit ef8d57aba0

View file

@ -15,7 +15,7 @@ in
Sets the register to use for the clipboard.
Learn more in [`:h 'clipboard'`](https://neovim.io/doc/user/options.html#'clipboard').
'';
type = with lib.types; nullOr (either str (listOf str));
type = with lib.types; nullOr (maybeRaw (either str (listOf (maybeRaw str))));
default = null;
example = "unnamedplus";
};