mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 17:28:39 +02:00
plugins/oil: Fix statix error (#393)
This commit is contained in:
parent
246f811084
commit
b6f55f619c
1 changed files with 2 additions and 4 deletions
|
@ -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" ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue