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 14:08:57 +00:00
committed by Austin Horstman
parent 29edaafdb0
commit 35e4b6167f
+2 -2
View File
@@ -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"
''