mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 17:58:38 +02:00
helpers: move rawType to helpers.nixvimTypes (#871)
This is done in preparation of adding new (lua) types to help the documentation.
This commit is contained in:
parent
2f13e3a21d
commit
af41ea2d80
38 changed files with 80 additions and 75 deletions
|
@ -21,11 +21,11 @@ in {
|
|||
|
||||
timeout = helpers.defaultNullOpts.mkUnsignedInt 5000 "Default timeout for notification.";
|
||||
|
||||
maxWidth = helpers.mkNullOrOption (with types; either ints.unsigned helpers.rawType) ''
|
||||
maxWidth = helpers.mkNullOrOption (with types; either ints.unsigned helpers.nixvimTypes.rawLua) ''
|
||||
Max number of columns for messages.
|
||||
'';
|
||||
|
||||
maxHeight = helpers.mkNullOrOption (with types; either ints.unsigned helpers.rawType) ''
|
||||
maxHeight = helpers.mkNullOrOption (with types; either ints.unsigned helpers.nixvimTypes.rawLua) ''
|
||||
Max number of lines for a message.
|
||||
'';
|
||||
|
||||
|
@ -85,7 +85,7 @@ in {
|
|||
with types;
|
||||
either
|
||||
(enum ["default" "minimal"])
|
||||
helpers.rawType
|
||||
helpers.nixvimTypes.rawLua
|
||||
)
|
||||
"default"
|
||||
"Function to render a notification buffer or a built-in renderer name.";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue