Skip to content

Commit 35e4b61

Browse files
ein-shvedkhaneliman
authored andcommitted
plugins/notify: allow raw for stages
Fix type of `plugins.notify.settings.stages` to allow to pass raw lua code. Change-Id: I9d7c24d42b66150ed6f1a2d3710a1a89594f489c
1 parent 29edaaf commit 35e4b61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/by-name/notify/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ lib.nixvim.plugins.mkNeovimPlugin {
3131
Max number of lines for a message.
3232
'';
3333
stages =
34-
defaultNullOpts.mkNullable
34+
defaultNullOpts.mkNullableWithRaw
3535
(
3636
with types;
3737
either (enum [
3838
"fade"
3939
"slide"
4040
"fade_in_slide_out"
4141
"static"
42-
]) (listOf str)
42+
]) (listOf (types.maybeRaw str))
4343
)
4444
"fade_in_slide_out"
4545
''

0 commit comments

Comments
 (0)