diff --git a/lib/options.nix b/lib/options.nix index 070c22c9..a630127c 100644 --- a/lib/options.nix +++ b/lib/options.nix @@ -29,7 +29,8 @@ rec { ); mkCompositeOption = description: options: mkCompositeOption' { inherit description options; }; - mkNullOrStr = mkNullOrOption (with nixvimTypes; maybeRaw str); + mkNullOrStr' = args: mkNullOrOption' (args // { type = with nixvimTypes; maybeRaw str; }); + mkNullOrStr = description: mkNullOrStr' { inherit description; }; mkNullOrLua = desc: