From 9d6a7608df21df7593ae1b9a552173d7cc2597c4 Mon Sep 17 00:00:00 2001 From: saygo-png Date: Sat, 29 Nov 2025 10:57:32 +0100 Subject: [PATCH] plugins/conform: fix eval error Signed-off-by: saygo-png --- plugins/by-name/conform-nvim/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/by-name/conform-nvim/default.nix b/plugins/by-name/conform-nvim/default.nix index bd25b630..2f46c522 100644 --- a/plugins/by-name/conform-nvim/default.nix +++ b/plugins/by-name/conform-nvim/default.nix @@ -259,7 +259,9 @@ lib.nixvim.plugins.mkNeovimPlugin { ); in { - warnings = lib.mkIf (enable && enableWarnings) (mkWarnsFromStates opts packagesAndStates.wrong); - extraPackages = lib.mkIf enable packagesAndStates.right; + warnings = lib.mkIf (enable && enableWarnings) ( + mkWarnsFromStates opts (packagesAndStates.wrong or [ ]) + ); + extraPackages = lib.mkIf enable (packagesAndStates.right or [ ]); }; }