From 35e4b6167ff2bc4fc774d28372abdeb31d506580 Mon Sep 17 00:00:00 2001 From: Yury Shvedov Date: Sun, 27 Jul 2025 08:52:21 +0300 Subject: [PATCH] plugins/notify: allow raw for stages Fix type of `plugins.notify.settings.stages` to allow to pass raw lua code. Change-Id: I9d7c24d42b66150ed6f1a2d3710a1a89594f489c --- plugins/by-name/notify/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/by-name/notify/default.nix b/plugins/by-name/notify/default.nix index 83a8c6b7..add516e4 100644 --- a/plugins/by-name/notify/default.nix +++ b/plugins/by-name/notify/default.nix @@ -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" ''