mirror of
https://github.com/nix-community/nixvim.git
synced 2026-08-24 10:14:03 -05:00
plugins/oil: Fix statix error (#393)
This commit is contained in:
@@ -10,16 +10,14 @@ with lib; let
|
||||
|
||||
fractionType = types.numbers.between 0.0 1.0;
|
||||
|
||||
mkSizeOption = default: desc:
|
||||
mkSizeOption =
|
||||
helpers.defaultNullOpts.mkNullable
|
||||
(with types;
|
||||
oneOf [
|
||||
int
|
||||
fractionType
|
||||
(listOf (either int fractionType))
|
||||
])
|
||||
default
|
||||
desc;
|
||||
]);
|
||||
|
||||
commonWindowOptions = {
|
||||
maxWidth = mkSizeOption "0.9" ''
|
||||
|
||||
Reference in New Issue
Block a user