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:
parent
96d3538c32
commit
9d6a7608df
1 changed files with 4 additions and 2 deletions
|
|
@ -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 [ ]);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue