mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-07 11:25:06 +02:00
plugins/notify: allow raw for stages
Fix type of `plugins.notify.settings.stages` to allow to pass raw lua code. Change-Id: I9d7c24d42b66150ed6f1a2d3710a1a89594f489c
This commit is contained in:
parent
29edaafdb0
commit
ce2507283e
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
Max number of lines for a message.
|
||||
'';
|
||||
stages =
|
||||
defaultNullOpts.mkNullable
|
||||
defaultNullOpts.mkNullableWithRaw
|
||||
(
|
||||
with types;
|
||||
either (enum [
|
||||
|
@ -39,7 +39,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
"slide"
|
||||
"fade_in_slide_out"
|
||||
"static"
|
||||
]) (listOf str)
|
||||
]) (listOf (types.maybeRaw str))
|
||||
)
|
||||
"fade_in_slide_out"
|
||||
''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue