diff --git a/plugins/helpers.nix b/plugins/helpers.nix index d5acfffc..950e2b0b 100644 --- a/plugins/helpers.nix +++ b/plugins/helpers.nix @@ -92,7 +92,7 @@ rec { (if val == false then 0 else 1) else val; - mkDefaultOpt = { type, global, description ? null, example ? null, default ? null, value ? v: toLuaObject (globalVal v), ... }: { + mkDefaultOpt = { type, global, description ? null, example ? null, default ? null, value ? v: (globalVal v), ... }: { option = mkOption { type = types.nullOr type; default = default; diff --git a/plugins/utils/startify.nix b/plugins/utils/startify.nix index 55689c31..1df6771c 100644 --- a/plugins/utils/startify.nix +++ b/plugins/utils/startify.nix @@ -57,7 +57,7 @@ mkPlugin args { global = "startify_files_number"; type = types.int; }; - + updateOldFiles = mkDefaultOpt { description = "Update v:oldfiles on-the-fly, so that :Startify is always up-to-date"; global = "startify_update_oldfiles";