1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-30 14:11:03 +01:00

plugins/conform: fix eval error

Signed-off-by: saygo-png <saygo.mail@proton.me>
This commit is contained in:
saygo-png 2025-11-29 10:57:32 +01:00 committed by Matt Sturgeon
parent 96d3538c32
commit 9d6a7608df

View file

@ -259,7 +259,9 @@ lib.nixvim.plugins.mkNeovimPlugin {
); );
in in
{ {
warnings = lib.mkIf (enable && enableWarnings) (mkWarnsFromStates opts packagesAndStates.wrong); warnings = lib.mkIf (enable && enableWarnings) (
extraPackages = lib.mkIf enable packagesAndStates.right; mkWarnsFromStates opts (packagesAndStates.wrong or [ ])
);
extraPackages = lib.mkIf enable (packagesAndStates.right or [ ]);
}; };
} }