plugins/notify: allow raw for stages
Some checks are pending
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
Documentation / Version info (push) Waiting to run
Documentation / Build (push) Blocked by required conditions
Documentation / Combine builds (push) Blocked by required conditions
Documentation / Deploy (push) Blocked by required conditions

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 committed by Austin Horstman
parent 29edaafdb0
commit 35e4b6167f

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"
''