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:
Yury Shvedov 2025-07-27 08:52:21 +03:00
parent 29edaafdb0
commit ce2507283e

View file

@ -31,7 +31,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
Max number of lines for a message. Max number of lines for a message.
''; '';
stages = stages =
defaultNullOpts.mkNullable defaultNullOpts.mkNullableWithRaw
( (
with types; with types;
either (enum [ either (enum [
@ -39,7 +39,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
"slide" "slide"
"fade_in_slide_out" "fade_in_slide_out"
"static" "static"
]) (listOf str) ]) (listOf (types.maybeRaw str))
) )
"fade_in_slide_out" "fade_in_slide_out"
'' ''